/php-src/Zend/tests/ |
H A D | objects_004.phpt | 8 class test { 12 class test2 extends test { 16 class test3 extends test { 22 Fatal error: Declaration of test3::foo(&$arg) must be compatible with test::foo($arg) in %s on line…
|
H A D | strict_002.phpt | 8 class test { 12 $t = new test; 22 Notice: Accessing static property test::$foo as non static in %s on line %d 23 object(test)#%d (1) {
|
H A D | objects_003.phpt | 8 class test { 12 class test2 extends test { 16 class test3 extends test { 22 Fatal error: Declaration of test3::foo($arg, $arg2) must be compatible with test::foo($arg) in %s o…
|
H A D | objects_008.phpt | 6 class test { 10 class test2 extends test { 14 class test3 extends test { 20 Fatal error: Declaration of test3::foo(Test3 $arg) must be compatible with test::foo(Test $arg) in …
|
H A D | bug62814.phpt | 7 private function test() { } 11 protected function test() { } 15 private function test() { } 20 Fatal error: Access level to C::test() must be protected (as in class B) or weaker in %s on line 12
|
/php-src/Zend/tests/use_function/ |
H A D | no_global_fallback2.phpt | 7 function test() { 12 use function bar\test; 13 test(); 18 Fatal error: Uncaught Error: Call to undefined function bar\test() in %s:%d
|
/php-src/tests/security/ |
H A D | open_basedir_link.phpt | 17 $target = ($initdir."/test/ok/ok.txt"); 23 $link = ($initdir."/test/ok/link.txt"); 30 $target = ($initdir."/test/ok/ok.txt"); 49 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the a… 52 Warning: link(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allow… 55 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the a… 58 Warning: link(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allow… 61 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al… 64 Warning: link(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed pa… 67 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al… [all …]
|
/php-src/sapi/cgi/tests/ |
H A D | 011.phpt | 15 function test($script) { 25 test('<?php ?>'); 26 test('<?php header_remove(); ?>'); 28 test('<?php 31 test('<?php 36 test('<?php 40 test('<?php 44 test('<?php 48 test('<?php 51 test('<?php [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | mb_decode_numericentity_large_ints.phpt | 6 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> 17 function test($desc, $str, $expected, $convmap, $encoding) { 40 test("Starting entity immediately after too-big decimal entity", "�A", "�… 46 test("Regression test (entity which decodes to 0xFFFFFFFF)", "", "?", [0xFFFFFF86, 0xFFFFFFFF,… 50 test("Regression test (truncation of successive & with JIS encoding)", "&&&", "&&&", [0x20FF37FF, 0… 53 test("Regression test (convmap entries are now treated as unsigned)", ",", "?,", [0x22FFFF11, 0x… 60 Regression test (entity which decodes to 0xFFFFFFFF): string(5) "" => string(1) "?" (Good) 61 Regression test (truncation of successive & with JIS encoding): string(3) "&&&" => string(3) "&&&" … 62 Regression test (convmap entries are now treated as unsigned): string(4) "," => string(2) "?," (…
|
/php-src/ext/sqlite3/tests/ |
H A D | bug68760.phpt | 13 $db->exec("CREATE TABLE test (col1 string)"); 14 $db->exec("INSERT INTO test VALUES ('a1')"); 15 $db->exec("INSERT INTO test VALUES ('a10')"); 16 $db->exec("INSERT INTO test VALUES ('a2')"); 20 $naturalSort = $db->query("SELECT col1 FROM test ORDER BY col1 COLLATE NATURAL_CMP");
|
/php-src/ext/dba/tests/ |
H A D | dba_db4_creation_matrix.phpt | 59 This is a test insert 61 This is a test insert 63 This is a test insert 65 This is a test insert 67 This is a test insert 69 This is a test insert 71 This is a test insert 73 This is a test insert 92 This is a test insert 94 This is a test insert [all …]
|
/php-src/ext/xmlreader/tests/ |
H A D | bug70309.phpt | 8 <?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> 9 <?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?> 21 This is a paragraph in the test chapter. It is unremarkable in 22 every regard. This is a paragraph in the test chapter. It is 23 unremarkable in every regard. This is a paragraph in the test 33 This is a paragraph in the test chapter. It is unremarkable in 34 every regard. This is a paragraph in the test chapter. It is 35 unremarkable in every regard. This is a paragraph in the test
|
/php-src/ext/dom/tests/ |
H A D | DOMParentNode_empty_argument.phpt | 12 echo "--- DOMElement test ---\n"; 30 echo "--- DOMDocumentFragment test ---\n"; 40 echo "--- DOMDocument test ---\n"; 48 echo "--- DOMCharacterData test ---\n"; 67 --- DOMElement test --- 73 --- DOMDocumentFragment test --- 75 --- DOMDocument test --- 78 --- DOMCharacterData test ---
|
/php-src/ext/opcache/tests/ |
H A D | iterable_type_optimization.phpt | 8 function test(object $arg): iterable { 11 test(new stdClass); 15 Fatal error: Uncaught TypeError: test(): Return value must be of type Traversable|array, stdClass r… 17 #0 %s(%d): test(Object(stdClass))
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | write23.phar.inc | 9 var_dump(isset($p["test.txt"]), isset($p["newname"])); 10 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 11 var_dump(isset($p["test.txt"]), isset($p["newname"])); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
|
/php-src/Zend/tests/return_types/ |
H A D | inheritance008.phpt | 10 public static function test() : A { 16 public static function test() : A { 21 var_dump(Bar::test()); 22 var_dump(Foo::test());
|
/php-src/Zend/tests/traits/ |
H A D | trait_constant_001.phpt | 7 public static function test() { 28 echo Direct::test()."\n"; 29 echo IndirectInheritance::test()."\n"; 30 echo Indirect::test()."\n";
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_081.phpt | 10 $test = new Test; 11 $x =& $test->x; 12 $test2 = clone $test; 13 unset($test);
|
/php-src/Zend/tests/variadic/ |
H A D | illegal_variadic_override_type.phpt | 7 public function test(int $a, int $b) {} 11 public function test(string ...$args) {} 16 Fatal error: Declaration of B::test(string ...$args) must be compatible with A::test(int $a, int $b…
|
/php-src/ext/simplexml/tests/ |
H A D | bug39662.phpt | 9 <test> 11 </test>'; 27 <test> 29 </test>
|
/php-src/ext/standard/tests/file/ |
H A D | ftruncate.phpt | 8 file_put_contents($filename, "some test data inside"); 20 file_put_contents($filename, "some test data inside"); 32 file_put_contents($filename, "some test data inside"); 48 string(21) "some test data inside" 52 string(10) "some test " 56 string(21) "some test data inside"
|
/php-src/ext/standard/tests/streams/ |
H A D | bug60455_03.phpt | 12 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 13 if ($path == "test://eofafter2nd") 29 stream_wrapper_register("test", "TestStream"); 31 $f = fopen("test://nonempty2nd", "r"); 36 $f = fopen("test://", "r"); 41 $f = fopen("test://eofafter2nd", "r");
|
/php-src/ext/mysqli/tests/ |
H A D | table.inc | 10 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) { 11 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 16 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 20 if (!mysqli_query($link, 'CREATE TABLE test(id INT DEFAULT 0, label CHAR(1), PRIMARY KEY(id)) ENGIN… 21 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 25 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd')…
|
/php-src/ext/soap/tests/soap12/ |
H A D | T27.phpt | 12 <test:echoStringArray xmlns:test="http://example.org/ts-tests" 15 <test:array enc:itemType="xs:string" enc:arraySize="1"> 19 </test:array> 20 </test:echoStringArray> 24 include "soap12-test.inc";
|
/php-src/ext/filter/tests/ |
H A D | 029.phpt | 9 function test($var) { 13 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test"))); 14 …var("~!@#$%^&*()_QWERTYUIOPASDFGHJKLZXCVBNM<>>?\"}{:", FILTER_CALLBACK, array("options"=>"test"))); 15 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test"))); 37 static function test ($var) { 42 var_dump(filter_var("dAtA", FILTER_CALLBACK, array("options"=>array("test_class", "test")))); 43 …RTYUIOPASDFGHJKLZXCVBNM<>>?\"}{:", FILTER_CALLBACK, array("options"=>array("test_class","test")))); 44 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>array("test_class","test")))); 65 throw new Exception("test"); 98 string(4) "test"
|