/PHP-8.2/Zend/tests/ |
H A D | ns_078.phpt | 5 namespace test\ns1; 20 use test\ns1\Foo; 21 use test\ns1\Foo as Bar; 22 use \test\ns1\Foo2; 23 use \test\ns1\Foo2 as Bar2; 31 test\ns1\Foo 32 test\ns1\Foo 33 test\ns1\Foo2 34 test\ns1\Foo2
|
H A D | ns_011.phpt | 5 namespace test\ns1; 12 \test\ns1\foo(); 14 \test\ns1\bar(); 21 test\ns1\foo 22 test\ns1\foo 23 test\ns1\bar 24 test\ns1\bar
|
H A D | ns_021.phpt | 5 namespace test; 18 \test\foo(); 19 \test\test::foo(); 22 test\foo 23 test\foo 24 test\Test::foo
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug70959.phpt | 6 protected $test; 9 return $this->test; 12 public function setTest($test) { 13 $this->test = $test; 18 $obj->setTest('test'); 24 string(4) "test" 25 string(4) "test"
|
H A D | RecursiveCallbackFilterIteratorTest.phpt | 7 function test($value, $key, $inner) { 8 return test($value, $key, $inner); 13 static function test($value, $key, $inner) { 14 return test($value, $key, $inner); 18 function test($value, $key, $inner) { 34 'static method (2)' => function() { return 'B::test'; }, 35 'function' => function() { return 'test'; }, 39 foreach($tests as $name => $test) { 41 $callback = $test(); 52 // same test, with no reference to callback [all …]
|
/PHP-8.2/ext/intl/tests/ |
H A D | spoofchecker_typed_references.phpt | 12 $test = new Test; 13 $test->x = ""; 16 $checker->isSuspicious("", $test->x); 17 var_dump($test); 19 $test = new Test; 20 $test->x = ""; 23 $checker->areConfusable("", "", $test->x); 24 var_dump($test);
|
/PHP-8.2/ext/filter/tests/ |
H A D | 045.phpt | 15 $a = array("test"=>array("filter"=>(string)FILTER_VALIDATE_INT, "flags"=>(string)FILTER_FLAG_ALLOW_… 16 $ret = filter_var_array(array("test"=>"0xff"), $a); 17 echo ($ret["test"] === 255 && is_string($a["test"]["filter"]) && $a["test"]["filter"] == FILTER_VAL… 18 echo ($ret["test"] === 255 && is_string($a["test"]["flags"]) && $a["test"]["flags"] == FILTER_FLAG_… 19 $a = array("test"=>(string)FILTER_VALIDATE_INT); 20 $ret = filter_var_array(array("test"=>"255"), $a); 21 echo ($ret["test"] === 255 && is_string($a["test"]) && $a["test"] == FILTER_VALIDATE_INT)?"ok\n":"b…
|
/PHP-8.2/ext/soap/tests/bugs/ |
H A D | bug31695.phpt | 39 $old = $client->__setLocation("test://3"); 54 test://0 55 test://1 56 test://2 57 test://1 58 test://3 59 test://3 60 test://1 61 test://0 62 test://1 [all …]
|
/PHP-8.2/Zend/tests/readonly_props/ |
H A D | initialization_scope.phpt | 19 $test = new B; 21 $test->prop = 1; 26 $test->initProtected(); 31 $test->initPrivate(); 32 var_dump($test->prop); 35 $test = new B; 39 var_dump($test->prop); 45 $test = new C; 46 $test->initPrivate(); 47 var_dump($test->prop); [all …]
|
H A D | variation_nested.phpt | 19 function r($test) { 20 echo $test->prop->prop; 23 function w($test) { 24 $test->prop->prop = 0; 28 function rw($test) { 29 $test->prop->prop += 1; 33 function im($test) { 38 function is($test) { 42 function us($test) { 51 $test->init(); [all …]
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | pathinfo_basic1.phpt | 21 'c:\test\adir', 22 'c:\test\adir\\', 27 'c:\test\afile', 28 'c:\\test\\afile', 150 string(12) "c:\test\adir" 152 string(12) "c:\test\adir" 253 string(8) "c://test" 259 string(8) "c://test" 282 string(12) "c:\test\prog" 309 string(7) "c:/test" [all …]
|
H A D | dirname_basic-win32.phpt | 23 'c:\test\afile', 24 'c:\\test\\afile', 25 'c://test//afile', 26 'c:\test\afile\\', 62 string(7) "c:\test" 63 string(7) "c:\test" 64 string(8) "c://test" 65 string(7) "c:\test" 76 string(15) " c:\test\adir" 77 string(12) "c:\test\adir" [all …]
|
H A D | userwrapper.phpt | 5 class test { 27 we effectively test the stat cache mechanism */ 36 stream_wrapper_register('test', 'test'); 38 unlink('test://example.com/path/to/file'); 39 rename('test://example.com/path/to/from', 'test://example.com/path/to/to'); 42 mkdir('test://example.com/path/to/directory', 0755); 43 rmdir('test://example.com/path/to/directory'); 44 print_r(stat('test://example.com/path/to/file')); 49 Unlinking file: test://example.com/path/to/file 50 Renaming test://example.com/path/to/from to test://example.com/path/to/to [all …]
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | ltrim.phpt | 24 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */ 25 …var_dump ( ltrim(" ltrim test" , "") ); /* no characters in second Argumen… 27 …var_dump ( ltrim(" ltrim test", " ") ); /* with single space as second Arg… 47 string(10) "ltrim test" 48 string(13) " ltrim test" 49 string(18) " ltrim test" 50 string(10) "ltrim test" 51 string(11) " ltrim test" 52 string(10) "ltrim test" 53 string(10) "ltrim test" [all …]
|
H A D | strtr_basic.phpt | 10 test strtr 14 var_dump( strtr("test strtr", "t", "T") ); 15 var_dump( strtr('test strtr', 't', 'T') ); 20 var_dump( strtr("test strtr", "test", "TEST") ); 21 var_dump( strtr('test strtr', 'test', 'TEST') ); 22 var_dump( strtr($heredoc_str, "test", "TEST") ); 25 var_dump( strtr("test strtr", "test", "TESTz") ); 26 var_dump( strtr('test strtr', 'testz', 'TEST') ); 27 var_dump( strtr($heredoc_str, "test", "TESTz") ); 30 var_dump( strtr("test strtr", $trans1_arr) ); [all …]
|
/PHP-8.2/ext/odbc/tests/ |
H A D | bug47803.phpt | 45 array('id'=>1, 'name'=>'test 1'), 100 string(6) "test 1" 108 string(6) "test 2" 116 string(6) "test 3" 124 string(6) "test 4" 132 string(6) "test 5" 140 string(7) "test 10" 148 string(6) "test 9" 156 string(6) "test 8" 164 string(6) "test 7" [all …]
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/ |
H A D | dnf_intersection_and_single.phpt | 42 $test->foo1($a); 43 $test->foo2($a); 44 $test->foo1($i); 45 $test->foo2($i); 46 $test->prop1 = $a; 47 $test->prop1 = $i; 48 $test->prop2 = $a; 51 $test->bar1($a); 52 $test->bar2($a); 53 $test->bar1($b); [all …]
|
/PHP-8.2/ext/session/tests/ |
H A D | bug70013.phpt | 16 $session['test'] = 1; 18 $session['test'] = 2; 20 var_dump($session['test'] === $_SESSION['test']); 22 $session['test'] = 3; 24 $session['test'] = 4; 26 var_dump($session['test'] === $_SESSION['test']);
|
/PHP-8.2/ext/phar/tests/cache_list/files/ |
H A D | write3.phar.inc | 9 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 10 rmdir("phar://" . __FILE__ . "/test"); 12 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test")); 17 $phar['test.txt'] = "hi 19 $phar['test.txt']->setMetadata('hi'); 20 $phar->addEmptyDir('test');
|
/PHP-8.2/ext/phar/tests/ |
H A D | bug79912.phpt | 11 $phar->addFromString("test.txt", "This is a test file.This is a test file.This is a test file."); 12 $file = $phar["test.txt"]; 19 var_dump(file_get_contents(__DIR__ . "/bug79912/test.txt")); //the extracted file in the folder sho… 23 string(60) "This is a test file.This is a test file.This is a test file." 28 string(60) "This is a test file.This is a test file.This is a test file." 31 @unlink(__DIR__ . "/bug79912/test.txt");
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | parse_ini_file.phpt | 13 test = 18 test== 24 test=test= 30 test= \"new 45 test=hello 52 test=hello 83 test=test2 84 test=test3 85 test=test4 126 ["test"]=> [all …]
|
/PHP-8.2/ext/dom/tests/ |
H A D | gh11906.phpt | 18 $test = $doc->createElement('foo'); 19 $test->append($child); 22 echo "--- \$test output ---\n"; 23 echo $doc->saveXML($test), "\n"; 24 $test->prepend($child); 27 echo "--- \$test output ---\n"; 28 echo $doc->saveXML($test), "\n"; 29 $test->append($child); 37 --- $test output --- 44 --- $test output ---
|
H A D | gh10234.phpt | 28 $attribute->textContent = 'quote "test"'; 32 $attribute->textContent = "quote 'test'"; 36 $attribute->textContent = "quote '\"test\"'"; 50 $document->documentElement->textContent = 'quote "test"'; 72 string(12) "quote "test"" 75 string(12) "quote 'test'" 78 string(14) "quote '"test"'" 88 string(12) "quote "test"" 89 string(69) "<element attribute="quote '"test"'">quote "test"</element> 91 string(12) "quote 'test'" [all …]
|
/PHP-8.2/ext/pdo_mysql/ |
H A D | config.m4 | 7 if test -z "$PHP_ZLIB_DIR"; then 16 if test "$PHP_PDO_MYSQL" != "no"; then 20 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then 30 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then 34 if test "$PHP_PDO_MYSQL" != "yes" && test "$PHP_PDO_MYSQL" != "mysqlnd"; then 35 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then 38 if test -d "$PHP_PDO_MYSQL" ; then 48 if test "$PHP_PDO_MYSQL" = "yes" || test "$PHP_PDO_MYSQL" = "mysqlnd"; then 58 if test "x$SED" = "x"; then 97 if test -n "$PDO_MYSQL_CONFIG"; then [all …]
|
/PHP-8.2/ext/standard/tests/crypt/ |
H A D | bcrypt_invalid_cost.phpt | 5 var_dump(crypt("test", "$2a$4$1234567891234567891234567")); 6 var_dump(crypt("test", "$2a$00$1234567891234567891234567")); 7 var_dump(crypt("test", "$2a$01$1234567891234567891234567")); 8 var_dump(crypt("test", "$2a$02$1234567891234567891234567")); 9 var_dump(crypt("test", "$2a$03$1234567891234567891234567")); 10 var_dump(crypt("test", "$2a$32$1234567891234567891234567")); 11 var_dump(crypt("test", "$2a$40$1234567891234567891234567"));
|