/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | bug46139.phpt | 13 public $test = NULL; 15 var_dump($this->test); 19 $stmt = $db->query("SELECT 'foo' test, 1"); 22 printf("'%s'\n", $r1->test); 24 $stmt = $db->query("SELECT 'foo' test, 1"); 27 printf("'%s'\n", $r1[0]->test); 29 $stmt = $db->query("SELECT 'foo' test, 1"); 32 printf("'%s'\n", $r1->test);
|
/PHP-8.2/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', 24 string(5) ";test" 25 string(4) "test" 26 string(4) "test"
|
/PHP-8.2/tests/lang/ |
H A D | string_decimals_001.phpt | 5 function test($str) { 12 test("..9"); 13 test(".9."); 14 test("9.."); 15 test("9.9."); 16 test("9.9.9");
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_092.phpt | 26 $test = new Test; 27 $test->foo(); 28 $test->foo(); 29 $test->bar(); 30 $test->bar(); 31 var_dump($test);
|
H A D | static_type_trait.phpt | 7 public function test($arg): static { 20 var_dump($c->test($c)); 21 var_dump($c->test($p)); 22 var_dump($p->test($p)); 23 var_dump($p->test($c)); 34 Fatal error: Uncaught TypeError: C::test(): Return value must be of type P, C returned in %s:%d 36 #0 %s(%d): C->test(Object(C))
|
/PHP-8.2/Zend/tests/variadic/ |
H A D | typehint_error.phpt | 6 function test(array... $args) { 10 test(); 11 test([0], [1], [2]); 12 test([0], [1], 2); 36 Fatal error: Uncaught TypeError: test(): Argument #3 must be of type array, int given, called in %s… 38 #0 %s(%d): test(Array, Array, 2)
|
/PHP-8.2/Zend/tests/ |
H A D | bug19859.phpt | 5 class test 9 print "test::__call invoked for method '$method'\n"; 12 $x = new test; 18 test::__call invoked for method 'fake' 19 test::__call invoked for method 'fake' 20 test::__call invoked for method 'fake'
|
H A D | bug24436.phpt | 7 class test { 9 if (empty($this->test[0][0])) { print "test1\n";} 10 if (!isset($this->test[0][0])) { print "test2\n";} 11 if (empty($this->test)) { print "test1\n";} 12 if (!isset($this->test)) { print "test2\n";} 16 $test1 = new test();
|
H A D | bug78589.phpt | 11 $test = new Test; 12 $test->foo = [&$test->foo]; 13 $ary = [&$ary, $test]; 14 unset($ary, $test);
|
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 scope B 15 protected function test() {} 18 protected function test() {
|
H A D | gh14009_004.phpt | 7 protected function test() { 13 // Prototype is A::test(). 14 protected function test() { 20 protected abstract function test(); 29 $sibling->test(); 37 B::test
|
/PHP-8.2/Zend/tests/named_params/ |
H A D | call_user_func_array.phpt | 7 $test = function($a = 'a', $b = 'b', $c = 'c') { 14 call_user_func_array($test, ['A', 'B']); 15 call_user_func_array($test, [1 => 'A', 0 => 'B']); 16 call_user_func_array($test, ['A', 'c' => 'C']); 19 call_user_func_array($test, ['d' => 'D']); 24 call_user_func_array($test, ['c' => 'C', 'A']); 32 call_user_func_array($test, ['A', 'B']); 33 call_user_func_array($test, [1 => 'A', 0 => 'B']); 34 call_user_func_array($test, ['A', 'c' => 'C']); 37 call_user_func_array($test, ['d' => 'D']); [all …]
|
/PHP-8.2/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-8.2/ext/opcache/tests/ |
H A D | exit_in_call_arg.phpt | 8 function test($c) { 12 var_dump("test"); 15 test(false); 16 test(true); 20 string(4) "test"
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | strrev_variation1.phpt | 47 "t@@#$% %test ^test &test *test +test -test", 48 "!test ~test `test` =test= @test@test.com", 49 "/test/r\test\strrev\t\\u /uu/",
|
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-8.2/ext/zend_test/ |
H A D | config.m4 | 1 PHP_ARG_ENABLE([zend-test], 2 [whether to enable zend-test extension], 3 [AS_HELP_STRING([--enable-zend-test], 6 if test "$PHP_ZEND_TEST" != "no"; then 7 …PHP_NEW_EXTENSION(zend_test, test.c observer.c fiber.c iterators.c, $ext_shared,, -DZEND_ENABLE_ST…
|
/PHP-8.2/ext/zlib/tests/ |
H A D | bug71417.phpt | 8 function test($case) { 15 // $ php test-zlib-inflate.php 18 // $ gzip test-zlib-inflate.gz 23 // $ php test-zlib-inflate.php 25 // $ gzip test-zlib-inflate.gz 30 // $ php test-zlib-inflate.php 33 // $ gzip test-zlib-inflate.gz 62 test(1); 63 test(2); 64 test(3); [all …]
|
/PHP-8.2/Zend/tests/type_declarations/iterable/ |
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); 48 test(): Argument #1 ($iterable) must be of type Traversable|array, int given, called in %s on line …
|
/PHP-8.2/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-8.2/ext/dom/tests/ |
H A D | bug81642.phpt | 10 $doc->appendChild($target = $doc->createElement('test')); 16 $doc->appendChild($target = $doc->createElement('test')); 22 $doc->appendChild($target = $doc->createElement('test')); 28 $doc->appendChild($target = $doc->createElement('test')); 35 <test/> 38 <test/> 42 <test/> 47 <test/>
|
/PHP-8.2/ext/simplexml/tests/ |
H A D | 030.phpt | 9 xmlns:s="urn::test" xmlns:t="urn::test-t"> 10 <child1>test</child1> 11 <child1>test 2</child1> 26 $atts = $sxe->attributes("urn::test"); 34 test 35 test 2
|
/PHP-8.2/Zend/tests/type_declarations/literal_types/ |
H A D | false_no_coercion.phpt | 6 function test(false $v) { var_dump($v); } 9 test(0); 14 test(''); 19 test([]); 26 test(): Argument #1 ($v) must be of type false, int given, called in %s on line %d 27 test(): Argument #1 ($v) must be of type false, string given, called in %s on line %d 28 test(): Argument #1 ($v) must be of type false, array given, called in %s on line %d
|
/PHP-8.2/ext/session/tests/ |
H A D | session_write_close_variation4.phpt | 16 var_dump(session_id("test")); 39 string(4) "test" 41 string(4) "test" 43 string(4) "test" 45 string(4) "test" 47 string(4) "test" 49 string(4) "test"
|
/PHP-8.2/ext/sqlite3/tests/ |
H A D | bug72668.phpt | 8 throw new \Exception("test exception\n"); 15 $result = $db->query('SELECT my_udf_md5("test")'); 22 $result = $db->querySingle('SELECT my_udf_md5("test")'); 28 $statement = $db->prepare('SELECT my_udf_md5("test")'); 38 Exception: test exception 39 Exception: test exception 40 Exception: test exception
|