/PHP-7.4/ext/phar/tests/cache_list/files/ |
H A D | write2.phar.inc | 10 mkdir("phar://" . __FILE__ . "/test"); 11 var_dump(is_dir("phar://" . __FILE__ . "/test")); 14 var_dump(isset($phar["test"])); 15 var_dump(isset($phar2["test"])); 20 $phar['test.txt'] = "hi 22 $phar['test.txt']->setMetadata('hi');
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | iterable_001.phpt | 6 function test(iterable $iterable) { 16 test([1, 2, 3]); 17 test(gen()); 18 test(new ArrayIterator([1, 2, 3])); 21 test(1); 47 Argument 1 passed to test() must be iterable, int given, called in %s on line %d
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | stream_rfc2397_004.phpt | 9 'data://,;test', 10 'data://text/plain,test', 11 'data://text/plain;charset=US-ASCII,test', 26 string(5) ";test" 27 string(4) "test" 28 string(4) "test"
|
H A D | pathinfo_basic2.phpt | 22 'c:\test\adir\afile..txt', 24 'c:\test\adir\afile.', 28 '..\.\..\test\afile.txt', 29 '.././../test/afile', 102 string(19) "c:\test\adir\afile." 130 string(19) "c:\test\adir\afile." 132 string(18) "c:\test\adir\afile" 141 string(18) "c:\test\adir\afile" 190 string(18) "..\.\..\test\afile" 202 string(12) ".././../test" [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | grandparent_prototype.phpt | 2 Protected visibility test case with a grandparent prototype 7 protected function test() {} 11 $x->test(); // Uncaught Error: Call to protected method D::test() from context 'B' 15 protected function test() {} 18 protected function test() {
|
H A D | heredoc_003.phpt | 2 simple variable replacement test (heredoc) 9 This is heredoc test #$a. 14 This is heredoc test #$b. 22 This is heredoc test #1. 23 This is heredoc test #2.
|
H A D | heredoc_004.phpt | 2 braces variable replacement test (heredoc) 9 This is heredoc test #{$a}. 14 This is heredoc test #{$b}. 22 This is heredoc test #1. 23 This is heredoc test #2.
|
H A D | bug74340.phpt | 20 $test = new Test; 21 $test->test; 25 __get test 27 Notice: Undefined property: Test::$test in %s on line %d 30 Notice: Undefined property: Test::$test in %s on line %d
|
H A D | nowdoc_003.phpt | 2 simple variable replacement test (nowdoc) 9 This is nowdoc test #$a. 14 This is nowdoc test #$b. 22 This is nowdoc test #$a. 23 This is nowdoc test #$b.
|
H A D | nowdoc_004.phpt | 2 braces variable replacement test (nowdoc) 9 This is nowdoc test #{$a}. 14 This is nowdoc test #{$b}. 22 This is nowdoc test #{$a}. 23 This is nowdoc test #{$b}.
|
H A D | closure_013.phpt | 16 $test = new Foo; 17 $test->__invoke(); 18 $test = foo(); 19 $test->__invoke(); 20 $test = foo()->__invoke();
|
/PHP-7.4/ext/oci8/tests/ |
H A D | lob_038.phpt | 117 string(11) "clob test 1" 119 string(11) "clob test 2" 121 string(11) "clob test 3" 133 string(11) "clob test 1" 141 string(11) "clob test 2" 149 string(11) "clob test 3" 159 string(11) "blob test 1" 161 string(11) "blob test 2" 175 string(11) "blob test 1" 183 string(11) "blob test 2" [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | htmlentities18.phpt | 8 "test+s & some more D", 9 "test+s & some more D", 18 foreach ($tests as $test) { 19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE)); 20 var_dump(htmlspecialchars($test, ENT_QUOTES, NULL, FALSE)); 28 string(33) "test+s & some more D" 29 string(33) "test+s & some more D" 30 string(34) "test+s & some more D" 31 string(34) "test+s & some more D"
|
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | bug46139.phpt | 14 public $test = NULL; 16 var_dump($this->test); 20 $stmt = $db->query("SELECT 'foo' test, 1"); 23 printf("'%s'\n", $r1->test); 25 $stmt = $db->query("SELECT 'foo' test, 1"); 28 printf("'%s'\n", $r1[0]->test); 30 $stmt = $db->query("SELECT 'foo' test, 1"); 33 printf("'%s'\n", $r1->test);
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug54384.phpt | 6 function test($f) { 19 test( function() { 29 test( function() { 39 test( function() { 48 test ( function() { 57 test ( function() { 66 test ( function() { 75 test ( function() { 84 test ( function() { 93 test ( function() { [all …]
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | 010.phpt | 5 class test { 7 throw new Exception('test'); 10 return test::_foo(); 15 var_dump(register_shutdown_function(array("test","__call"))); 23 Exception: Non-static method test::__call() cannot be called statically 26 Fatal error: Non-static method test::__call() cannot be called statically in %s on line %d
|
/PHP-7.4/ext/opcache/tests/ |
H A D | bug77691.phpt | 14 function test() { 16 dump($array[] = 'test'); 20 test(); 24 string(4) "test" 27 string(4) "test"
|
/PHP-7.4/ext/standard/tests/class_object/ |
H A D | get_object_vars_basic_001.phpt | 14 public static function test($b) { 26 public static function test($b) { 35 public static function test($b) { 53 B::test($b); 55 C::test($b); 57 A::test($b); 59 X::test($b); 69 B::test 82 C::test 91 A::test [all …]
|
H A D | bug71442.phpt | 9 public static function test() { 19 public static function test() { 21 forward_static_call(array('A', 'test'), 'more', 'args'); 22 forward_static_call( 'test', 'other', 'args'); 26 B::test('foo'); 28 function test() {
|
/PHP-7.4/sapi/cli/tests/ |
H A D | 010.phpt | 15 $filename = __DIR__."/010.test.php"; 16 $filename_txt = __DIR__."/010.test.txt"; 27 test 38 @unlink(__DIR__."/010.test.php"); 39 @unlink(__DIR__."/010.test.txt"); 43 string(10) "test
|
/PHP-7.4/Zend/tests/traits/ |
H A D | error_010.phpt | 7 public function test() { return 3; } 10 public function test() { return 2; } 14 use foo, c { c::test insteadof foo; } 15 use foo, c { c::test insteadof foo; } 19 var_dump($x->test()); 23 Fatal error: Failed to evaluate a trait precedence (test). Method of trait foo was defined to be ex…
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug_61207.phpt | 15 $db->query('DROP TABLE IF EXISTS test'); 16 $db->query('create table `test`( `id` int )'); 18 $handle1 = $db->prepare('insert into test(id) values(1); 19 select * from test where id = ?; 20 update test set id = 2 where id = ?;'); 34 $handle2 = $db->prepare('select * from test where id = ?; 50 $handle3 = $db->prepare('update test set id = 2 where id = ?; 51 select * from test where id = ?;'); 66 $handle4 = $db->prepare('insert into test(id) values(3); 68 select * from test where id = ?;'); [all …]
|
/PHP-7.4/tests/security/ |
H A D | open_basedir_tempnam.phpt | 11 var_dump(tempnam("../bad", "test")); 12 var_dump(tempnam("..", "test")); 13 var_dump(tempnam("../", "test")); 14 var_dump(tempnam("/", "test")); 16 var_dump(tempnam("./../.", "test")); 17 var_dump(tempnam("", "test")); 19 //absolute test 20 $file = tempnam($initdir."/test/ok", "test"); 24 //relative test 25 $file = tempnam(".", "test"); [all …]
|
/PHP-7.4/ext/reflection/tests/ |
H A D | bug46064_2.phpt | 10 $x->test = 2000; 14 var_dump($p->getProperty('test')); 23 class test extends bar { 36 new test; 43 string(4) "test" 51 string(4) "test" 64 string(4) "test" 71 string(4) "test"
|
/PHP-7.4/sapi/cgi/tests/ |
H A D | 006.phpt | 14 $filename = __DIR__."/006.test.php"; 19 $test = "var"; 21 class test { 25 echo test::$var; 38 class test 58 string(%d) "No syntax errors detected in %s006.test.php 63 <b>Parse error</b>: %s expecting %s{%s in <b>%s006.test.php</b> on line <b>5</b><br /> 64 Errors parsing %s006.test.php
|