/PHP-8.2/tests/classes/ |
H A D | private_members.phpt | 14 $this->test(); 18 function test() 39 function test() 48 $t->test(); 57 base::test 63 derived::test 70 base::test 76 base::test 82 derived::test 89 base::test [all …]
|
/PHP-8.2/ext/pdo_pgsql/tests/ |
H A D | copy_from.phpt | 139 string(13) "test insert 0" 141 string(13) "test insert 0" 153 string(13) "test insert 1" 155 string(13) "test insert 1" 167 string(13) "test insert 2" 169 string(13) "test insert 2" 183 string(13) "test insert 0" 185 string(13) "test insert 0" 197 string(13) "test insert 1" 199 string(13) "test insert 1" [all …]
|
H A D | copy_to.phpt | 87 string(19) "0 test insert 0 \N 90 string(19) "1 test insert 1 \N 93 string(19) "2 test insert 2 \N 99 string(21) "0;test insert 0;NULL 102 string(21) "1;test insert 1;NULL 124 0 test insert 0 \N 125 1 test insert 1 \N 126 2 test insert 2 \N 129 0;test insert 0;NULL 130 1;test insert 1;NULL [all …]
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | bug23894_64bit.phpt | 5 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); 10 $test = sprintf("%04d", $a); 11 var_dump($test, bin2hex($test)); 12 $test = sprintf("% 13u", $a); 13 var_dump($test, bin2hex($test));
|
H A D | bug23894_32bit.phpt | 5 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); 10 $test = sprintf("%04d", $a); 11 var_dump($test, bin2hex($test)); 12 $test = sprintf("% 13u", $a); 13 var_dump($test, bin2hex($test));
|
/PHP-8.2/ext/phar/tests/cache_list/files/ |
H A D | write3.phar | 3 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 4 rmdir("phar://" . __FILE__ . "/test"); 6 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 9 i s:2:"hi";test.txt���Hzzo� s:2:"hi";test/���H…
|
/PHP-8.2/Zend/tests/ |
H A D | bug63462.phpt | 37 $test = new Test(); 39 $test->nonExisting; 40 $test->publicProperty; 41 $test->protectedProperty; 42 $test->privateProperty; 43 isset($test->nonExisting); 44 isset($test->publicProperty); 45 isset($test->protectedProperty); 46 isset($test->privateProperty); 47 $test->nonExisting = 'value'; [all …]
|
H A D | bug73916.phpt | 8 $test[] =& $a; 9 $test[] =& $b; 10 test($test); 11 function test() { 16 #0 %s(%d): test(Array)
|
H A D | gh14009_005.phpt | 7 private function test($s) { 15 $this->test(__METHOD__); 18 $this->test(__METHOD__); 25 $this->test(__METHOD__); 35 A::foo -> A::T::test 36 A::bar -> A::T::test 37 B::foo -> B::T::test 38 A::bar -> A::T::test
|
H A D | call_user_func_008.phpt | 6 function test(&$ref1, &$ref2) { 13 var_dump(call_user_func('test', $i, $j)); 16 var_dump(call_user_func_array('test', [$i, $j])); 20 var_dump(call_user_func('test', $i, $j)); 23 var_dump(call_user_func_array('test', [$i, $j])); 28 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 30 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 35 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d 37 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d 42 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d [all …]
|
/PHP-8.2/Zend/tests/arg_unpack/ |
H A D | basic.phpt | 6 function test(...$args) { 26 test(...[]); 27 test(...[1, 2, 3]); 28 test(...$array); 29 test(...getArray([1, 2, 3])); 30 test(...arrayGen([])); 31 test(...arrayGen([1, 2, 3])); 33 test(1, ...[2, 3], ...[4, 5]); 34 test(1, ...getArray([2, 3]), ...arrayGen([4, 5]));
|
/PHP-8.2/ext/spl/tests/ |
H A D | gh11338.phpt | 6 function test($path) { 13 test('/dir/anotherdir/basedir//'); 14 test('/dir/anotherdir/basedir/'); 15 test('/dir/anotherdir/basedir'); 16 test('/dir/anotherdir//basedir'); 17 test('///'); 18 test('//'); 19 test('/'); 20 test('');
|
/PHP-8.2/ext/standard/tests/file/windows_links/ |
H A D | readlink_compat.phpt | 8 die('skip windows only test'); 27 chdir($tmpDir . '\\test'); 37 $target = $tmpDir . '\\test\\directory'; 44 $target = $tmpDir . '\\test\\directory'; 74 rmdir($tmpDir . '\\test\\directory'); 75 rmdir($tmpDir . '\\test'); 81 string(%d) "%s\mnt\test\directory" 82 string(%d) "%s\mnt\test\directory" 83 string(%d) "%s\mnt\test\directory" 84 string(%d) "%s\mnt\test\directory\a.php" [all …]
|
H A D | bug48746_1.phpt | 8 die('skip windows only test'); 22 $dirname = __DIR__ . "\\mnt\\test\\directory"; 24 chdir(__DIR__ . "\\mnt\\test"); 34 require "$fullpath\\mnt\\test\\directory\\b.php"; 36 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php"; 40 unlink("$fullpath\\mnt\\test\\directory\\b.php"); 41 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php"); 44 rmdir(__DIR__ . "\\mnt\\test\\directory"); 45 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction"); 46 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume"); [all …]
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | settype_typed_property.phpt | 10 $test = new Test; 11 $test->x = 42; 12 settype($test->x, 'string'); 13 // Same as $test->x = (string) $test->x. 15 var_dump($test->x); 18 settype($test->x, 'array'); 22 var_dump($test->x);
|
H A D | var_export_basic5.phpt | 19 "array(\"test\" => \"is_array\")" => array("test" => "is_array"), 23 "array(\"string\", \"test\")" => array("string", "test"), 24 "array('string', 'test')" => array('string', 'test') 193 'test' => 'is_array', 196 'test' => 'is_array', 245 1 => 'test', 249 1 => 'test', 253 1 => 'test', 260 1 => 'test', 264 1 => 'test', [all …]
|
/PHP-8.2/ext/filter/tests/ |
H A D | bug50158.phpt | 8 $email_address = "test=mail@example.com"; 11 $email_address = "test-mail@example.com"; 14 $email_address = "test+mail@example.com"; 17 $email_address = "test?mail@example.com"; 22 string(21) "test=mail@example.com" 23 string(21) "test-mail@example.com" 24 string(21) "test+mail@example.com" 25 string(21) "test?mail@example.com"
|
H A D | filter_callback_require_scalar.phpt | 7 function test($var) { 13 var_dump(test('test')); 14 var_dump(test(['test'])); 17 string(4) "test"
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | 001.phpt | 13 $test = ""; 15 /*** test mysqli_connect localhost:port ***/ 17 $test .= ($link) ? "1" : "0"; 20 /*** test mysqli_real_connect ***/ 22 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) ) 26 /*** test mysqli_real_connect with db ***/ 28 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 32 /*** test mysqli_real_connect with port ***/ 34 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 49 /*** test mysqli_real_connect compressed ***/ [all …]
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | undef_to_typed_ref.phpt | 15 $test = new Test; 16 $test->x = ""; 17 $r =& $test->x; 22 $test = new Test; 23 $test->x = ""; 24 $r =& $test->x; 29 $test = new Test; 30 $test->x = ""; 37 $test->x = ""; 44 $test->x = ""; [all …]
|
/PHP-8.2/ext/json/tests/ |
H A D | bug61978.phpt | 7 public $test; 10 $this->test = '123'; 16 public $test; 18 $this->test = '123'; 22 'test' => $this->test, 39 string(24) "{"test":"123","me":null}" 41 string(24) "{"test":"123","me":null}"
|
/PHP-8.2/ext/dom/tests/ |
H A D | gh12616_2.phpt | 11 <container xmlns:test="urn:test" xmlns:symfony="http://symfony.com/schema/dic/services"> 13 <test:service id="hello" /> 21 $xpath->registerNamespace('test', 'urn:test'); 25 $result = $xpath->query('//container/services/test:service[@id="hello"]'); 31 <container xmlns:test="urn:test"> 33 <test:service id="hello"/>
|
H A D | bug80332_2.phpt | 13 function test($list, $key) { 23 test($list, 0); 24 test($list, false); 25 test($list, true); 26 test($list, null); 27 test($list, '0'); 28 test($list, '0.5'); 29 test($list, '1'); 31 test($list, 'attr2'); 32 test($list, 'hi'); [all …]
|
/PHP-8.2/ext/dba/ |
H A D | config.m4 | 18 if test -n "$THIS_PREFIX" && test "$THIS_PREFIX" != "/usr"; then 26 if test -z "$THIS_INCLUDE"; then 29 if test -z "$THIS_LIBS"; then 44 if test -n "$2"; then 50 if test -n "$3"; then 53 if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then 326 if test -z "$THIS_LIBS"; then 330 if test "$1" = "4"; then 472 if test "$HAVE_DB3" = "1" || test "$HAVE_DB4" = "1"; then 518 if test "$HAVE_DB4" = "1" || test "$HAVE_DB3" = "1" || test "$HAVE_DB2" = "1"; then [all …]
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_emulated.phpt | 109 prepex(9, $db, 'DELETE FROM test'); 115 prepex(12, $db, 'DELETE FROM test'); 129 array(':placeholder' => 'test')); 140 prepex(20, $db, 'DELETE FROM test'); 171 prepex(34, $db, 'DELETE FROM test'); 211 prepex(49, $db, 'DELETE FROM test'); 217 prepex(52, $db, 'DELETE FROM test'); 245 prepex(61, $db, 'DELETE FROM test'); 277 prepex(74, $db, 'DELETE FROM test'); 308 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH… [all …]
|