/PHP-7.4/ext/standard/tests/file/ |
H A D | pathinfo_basic1-win32.phpt | 25 'c:\test\adir', 26 'c:\test\adir\\', 31 'c:\test\afile', 32 'c:\\test\\afile', 33 'c://test//afile', 34 'c:\test\afile\\', 35 'c:\test\prog.exe', 37 'c:/test/prog.exe', 153 string(7) "c:\test" 166 string(7) "c:\test" [all …]
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | bug39760.phpt | 9 <test> 14 </test>'; 15 $test = simplexml_load_string($xml); 17 var_dump($test->level1->level2a); 19 $test2 = clone $test; 22 $test3 = clone $test->level1->level2a;
|
/PHP-7.4/ext/soap/tests/soap12/ |
H A D | T22.phpt | 11 <test:echoOk xmlns:test="http://example.org/ts-tests" 12 env:mustUnderstand = "1">foo</test:echoOk> 15 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk> 19 include "soap12-test.inc";
|
H A D | T56.phpt | 14 <test:DataHolder xmlns:test="http://example.org/ts-tests" 16 <test:Data enc:id="data-1" xsi:type="xsd:string"> 18 </test:Data> 19 </test:DataHolder> 22 <test:echoString xmlns:test="http://example.org/ts-tests" 25 </test:echoString> 29 include "soap12-test.inc";
|
H A D | T23.phpt | 11 <test:Unknown xmlns:test="http://example.org/ts-tests" 12 env:mustUnderstand="1">foo</test:Unknown> 13 <test:echoOk xmlns:test="http://example.org/ts-tests" 14 env:mustUnderstand="wrong">foo</test:echoOk> 20 include "soap12-test.inc";
|
/PHP-7.4/ext/session/tests/ |
H A D | session_write_close_variation4.phpt | 20 var_dump(session_id("test")); 43 string(4) "test" 45 string(4) "test" 47 string(4) "test" 49 string(4) "test" 51 string(4) "test" 53 string(4) "test"
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_native.phpt | 120 prepex(5, $db, 'DROP TABLE IF EXISTS test'); 126 prepex(9, $db, 'DELETE FROM test'); 158 prepex(20, $db, 'DROP TABLE IF EXISTS test'); 185 $db->exec('DELETE FROM test'); 202 prepex(33, $db, 'DROP TABLE IF EXISTS test'); 208 prepex(37, $db, 'DELETE FROM test'); 233 prepex(44, $db, 'DELETE FROM test'); 270 prepex(51, $db, 'DROP TABLE IF EXISTS test'); 286 prepex(57, $db, 'DELETE FROM test'); 326 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH… [all …]
|
/PHP-7.4/Zend/tests/traits/ |
H A D | error_014.phpt | 7 public function test() { return 3; } 11 final public function test() { return 4; } 15 use foo { test as public; } 19 var_dump($x->test()); 23 Fatal error: Cannot override final method baz::test() in %s on line %d
|
/PHP-7.4/Zend/tests/ |
H A D | compare_002.phpt | 8 class test { 25 new test, 82 string(0) "" !== object(test)#3 (0) {} 99 int(1) !== object(test)#3 (0) {} 116 float(2.5) !== object(test)#3 (0) {} 133 int(0) !== object(test)#3 (0) {} 201 NULL !== object(test)#3 (0) {} 275 object(test)#3 (0) {} !== int(1) 277 object(test)#3 (0) {} !== int(0) 281 object(test)#3 (0) {} !== NULL [all …]
|
H A D | argument_restriction_006.phpt | 6 public function test($foo, $extra = array("test")) { 11 public function test($foo, $extra) { 16 Warning: Declaration of Sub::test($foo, $extra) should be compatible with Base::test($foo, $extra =…
|
H A D | closure_018.phpt | 7 public function test(&$x) { 16 $test = new foo; 19 var_dump($test->test($y)); 20 var_dump($x = $test->test($y));
|
H A D | bug47593.phpt | 6 namespace test; 21 var_dump(interface_exists('\test\baz')); 22 var_dump(function_exists('\test\bar')); 23 var_dump(constant('\test\TEST')); 24 var_dump(defined('\test\TEST'));
|
H A D | lsb_017.phpt | 6 public static function test($x=null) { 21 echo A::test(B::test(C::test(D::test())))."\n";
|
H A D | concat_001.phpt | 8 class test { 10 return "this is test object"; 15 $o = new test; 54 string(24) "Arraythis is test object" 71 string(24) "this is test objectArray" 72 string(30) "this is test objectsome string" 73 string(22) "this is test object222" 74 string(27) "this is test object2323.444" 75 string(38) "this is test objectthis is test object" 86 string(22) "222this is test object" [all …]
|
H A D | closure_027.phpt | 6 function test(closure $a) { 11 test(function() { return new stdclass; }); 13 test(function() { }); 17 test($a); 22 test(new stdclass); 33 Fatal error: Uncaught TypeError: Argument 1 passed to test() must be an instance of Closure, instan… 35 #0 %s(%d): test(Object(stdClass))
|
/PHP-7.4/ext/ldap/tests/ |
H A D | ldap_controls.phpt | 27 ldap_modify($link, "o=test,$base", ['description' => 'desc'], 29 $result = ldap_read($link, "o=test,$base", "objectClass=*", array('description')), 31 ldap_modify($link, "o=test,$base", ['description' => 'desc2'], 33 $result = ldap_read($link, "o=test,$base", "objectClass=*", array('description')), 39 ldap_compare($link, "o=test,$base", "o", "test"), 40 …ldap_compare($link, "o=test,$base", "o", "test", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => T… 41 …ldap_compare($link, "o=test,$base", "o", "test", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => T… 80 string(4) "test" 87 string(%d) "o=test,%s" 110 string(%d) "o=test,%s" [all …]
|
/PHP-7.4/ext/phar/tests/cache_list/files/ |
H A D | write18.phar.inc | 9 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 10 $p["test.txt"]->chmod(0444); 11 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();"; 16 $phar["test.txt"]->chmod(0666);
|
H A D | write2.phar | 4 mkdir("phar://" . __FILE__ . "/test"); 5 var_dump(is_dir("phar://" . __FILE__ . "/test")); 8 var_dump(isset($phar["test"])); 9 var_dump(isset($phar2["test"])); 12 H s:2:"hi";test.txt�A�Hzzo� s:2:"hi";hi
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | bug36944.phpt | 6 var_dump(strncmp("test ", "e", -1)); 7 var_dump(strncmp("test ", "e", 10)); 8 var_dump(strncmp("test ", "e", 0)); 10 var_dump(strncasecmp("test ", "E", -1)); 11 var_dump(strncasecmp("test ", "E", 10)); 12 var_dump(strncasecmp("test ", "E", 0));
|
/PHP-7.4/ext/standard/tests/ |
H A D | forward_static_call_array.phpt | 8 function test() { 17 public static function test() { 28 public static function test() { 30 forward_static_call_array(array('A', 'test'), array('more', 'args')); 31 forward_static_call_array('test', array('other', 'args')); 36 B::test('foo');
|
/PHP-7.4/tests/security/ |
H A D | open_basedir_realpath.phpt | 29 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe… 32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th… 35 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 38 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 44 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe… 53 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa… 55 string(%d) "%s\test\ok" 56 string(%d) "%s\test\ok\ok.txt" 57 string(%d) "%s\test\ok\ok.txt" 58 string(%d) "%s\test\ok\ok.txt" [all …]
|
/PHP-7.4/ext/json/tests/ |
H A D | pass003.phpt | 2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json) 8 $test = ' 12 "In this test": "It is an object." 17 echo 'Testing: ' . $test . "\n"; 19 $obj = json_decode($test); 22 $arr = json_decode($test, true); 45 "In this test": "It is an object." 55 ["In this test"]=> 65 ["In this test"]=> 79 ["In this test"]=> [all …]
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | 015.phpt | 31 if (!mysqli_query($link,"DROP TABLE IF EXISTS test") || 33 !mysqli_query($link, "INSERT INTO test VALUES (1, 'foobar')")) 34 printf("[004] Cannot create test data, [%d] %s\n", 41 if (!mysqli_query($link, "DELETE FROM test") || 42 !mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')")) 43 printf("[006] Cannot modify test data, [%d] %s\n", 50 $result = mysqli_query($link, "SELECT SQL_NO_CACHE * FROM test"); 58 if (!mysqli_query($link, "DELETE FROM test") || 60 printf("[009] Cannot modify test data, [%d] %s\n", 65 $result = mysqli_query($link, "SELECT * FROM test"); [all …]
|
/PHP-7.4/tests/ |
H A D | quicktester.inc | 21 foreach ($tests as $n=>$test) 24 if (!$test) continue; 27 if (substr(trim($test), -1, 1) === ';') { 28 echo "WARNING: trailing ';' found in test ".($n+1)."\n"; 36 if (strpos($test, $a_operator)!== FALSE) { 38 list($left,$right) = explode($operator, $test); 43 echo "WARNING: unknown operator in '$test' (1)\n"; 62 echo "WARNING: unknown operator in '$test' (2)\n"; 69 echo "$test\n";
|
/PHP-7.4/ext/phar/tests/ |
H A D | bug77022.phpt | 19 $phar->addFile($sFile, 'test-file-phar'); 20 $phar->addFromString("test-from-string", 'test-file-phar'); 22 var_dump(decoct(stat(__DIR__ . '/test-file-phar')['mode'])); 23 var_dump(decoct(stat(__DIR__ . '/test-from-string')['mode'])); 24 unlink(__DIR__ . '/test-file-phar'); 25 unlink(__DIR__ . '/test-from-string');
|