/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_097.phpt | 12 $test = new Test; 16 --$test->foo; 20 var_dump($test->foo); 22 $test->foo--; 30 ++$test->foo; 36 $test->foo++; 43 $ref =& $test->foo; 47 --$test->foo; 53 $test->foo--; 61 ++$test->foo; [all …]
|
H A D | typed_properties_096.phpt | 11 $test = new Test1; 12 $test->prop2 = 123; 13 $ref =& $test->prop2; 15 $test->prop =& $ref; 19 var_dump($test); 26 $test = new Test2; 27 $test->prop2 = null; 28 $ref =& $test->prop2; 29 $test->prop =& $ref; 30 var_dump($test);
|
/php-src/Zend/tests/ |
H A D | ns_002.phpt | 5 namespace test\ns1; 13 use test\ns1\Foo as Bar; 14 use test\ns1 as ns2; 15 use test\ns1; 18 \test\ns1\Foo::bar(); 24 test\ns1\Foo 25 test\ns1\Foo 26 test\ns1\Foo 27 test\ns1\Foo 28 test\ns1\Foo
|
H A D | namespace_name_reserved_keywords.phpt | 7 function test() { 13 function test() { 19 function test() { 26 use function fn\test as test2; 27 use function self\test as test3; 28 fn\test(); 35 iter\fn\test 36 fn\test 37 self\test
|
H A D | bug39346.phpt | 5 class test 19 $test = new test(2); 20 $test = new test(1); 21 $test = new test(2); 22 $test = new test(3);
|
H A D | ns_001.phpt | 5 namespace test\ns1; 25 $y = new \test\ns1\Foo; 27 \test\ns1\Foo::baz(); 30 test\ns1\Foo 31 test\ns1\Foo 32 test\ns1\Foo 33 test\ns1\Foo 34 test\ns1\Foo 35 test\ns1\Foo
|
H A D | undef_index_to_exception.phpt | 10 $test = []; 12 $test[0] .= "xyz"; 16 var_dump($test); 19 $test["key"] .= "xyz"; 23 var_dump($test); 25 unset($test); 27 $GLOBALS["test"] .= "xyz"; 32 var_dump($test); 45 Undefined global variable $test 46 Undefined variable $test
|
H A D | bug63217.phpt | 30 $test = new Test; 33 isset($test['0']); 34 isset($test['123']); 35 unset($test['0']); 36 unset($test['123']); 37 $test['0'] = true; 38 $test['123'] = true; 39 $foo = $test['0']; 40 $foo = $test['123']; 55 function test(): string { [all …]
|
/php-src/Zend/tests/match/ |
H A D | 043.phpt | 8 function test(mixed $var) { 16 test(null); 17 test(1); 18 test(5.5); 19 test(5.0); 20 test("foo"); 21 test(true); 22 test(false); 23 test([1, 2, 3]); 24 test(new Beep()); [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug36011.phpt | 8 static function test() 15 array_map(array('TestClass', 'test'), array('array_value')); 20 call_user_func(array('TestClass', 'test')); 25 call_user_func(array('TestClass', 'test')); 29 TestClass::test(); 40 TestClass::test() 41 TestClass::test() 42 TestClass::test() 43 TestClass::test() 44 TestClass::test()
|
H A D | 009.phpt | 5 function test($str) { 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
H A D | 007.phpt | 5 function test($str) { 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
/php-src/ext/pcre/tests/ |
H A D | skip.ini | 3 test[]=locales.phpt 7 test[]=007.phpt 8 test[]=bug27103.phpt 9 test[]=invalid_utf8_offset.phpt 10 test[]=invalid_utf8.phpt 11 test[]=preg_replace2.phpt 15 test[]=backtrack_limit.phpt 16 test[]=pcre_anchored.phpt 17 test[]=recursion_limit.phpt
|
/php-src/ext/standard/tests/streams/ |
H A D | bug40459.phpt | 59 stream_wrapper_register('test', 'testwrapper', STREAM_IS_URL); 62 fopen('test://test', 'r'); 66 stat('test://test'); 70 opendir('test://test'); 74 rmdir('test://test'); 78 mkdir('test://test'); 82 rename('test://test', 'test://test2'); 86 unlink('test://test'); 90 touch('test://test', time());
|
/php-src/ext/standard/tests/http/http_build_query/ |
H A D | bug26817.phpt | 5 class test { 8 public $test; 14 $this->test = 'test'; 20 $obj = new test(); 25 string(27) "foo=lala&bar=meuh&test=test" 26 string(9) "test=test"
|
/php-src/tests/classes/ |
H A D | interface_doubled.phpt | 46 echo $t->test('if_a'); 47 echo $t->test('if_b'); 48 echo $t->test('if_c'); 49 echo $t->test('if_d'); 50 echo $t->test('if_e'); 63 echo $t->test('if_a'); 64 echo $t->test('if_b'); 65 echo $t->test('if_c'); 66 echo $t->test('if_d'); 67 echo $t->test('if_e'); [all …]
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug38004.phpt | 34 $strA = 'test & test'; 35 $strB = 'test & test'; 41 test & test 42 test & test 43 test & test 44 test & test
|
/php-src/ext/standard/tests/strings/ |
H A D | chop_variation5.phpt | 11 var_dump ( chop("chop test \t\0 ") ); /* without second Argument */ 12 …var_dump ( chop("chop test " , "") ); /* no characters in second Argument … 14 …var_dump ( chop("chop test ", " ") ); /* with single space as second Argum… 24 string(9) "chop test" 25 string(12) "chop test " 26 string(17) "chop test " 27 string(9) "chop test" 28 string(10) "chop test " 29 string(9) "chop test" 30 string(9) "chop test" [all …]
|
/php-src/ext/spl/tests/ |
H A D | array_003.phpt | 6 // This test also needs to exclude the protected and private variables 11 class test 23 $test = new test; 24 $test->dyn = "dynamic"; 26 print_r($test); 28 $object = new ArrayObject($test); 32 foreach($test as $key => $val) 39 test Object 43 [pri:test:private] => private 49 [storage:ArrayObject:private] => test Object [all …]
|
H A D | observer_006.phpt | 8 public $test = 25; 12 $this->test = $test; 91 ["test"]=> 101 ["test"]=> 123 ["test"]=> 133 ["test"]=> 151 ["test"]=> 161 ["test"]=> 171 ["test"]=> 195 ["test"]=> [all …]
|
H A D | dualiterator_001.phpt | 13 function test($a, $b, $identical = false) 21 test(array(1,2,3), array(1,2,3)); 22 test(array(1,2,3), array(1,2)); 23 test(array(1,array(21,22),3), array(1,array(21,22),3)); 24 test(array(1,array(21,22),3), array(1,array(21,22,23),3)); 25 test(array(1,array(21,22),3), array(1,array(21,22,3))); 26 test(array(1,array(21,22),3), array(1,array(21),array(22),3)); 27 test(array(1,2,3), array(1,"2",3), false); 28 test(array(1,2,3), array(1,"2",3), true); 29 test(array(1,array(21,22),3), array(1,array(21,"22"),3), false); [all …]
|
H A D | CallbackFilterIteratorTest.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) { 31 'static method (2)' => function() { return 'B::test'; }, 32 'function' => function() { return 'test'; }, 36 foreach($tests as $name => $test) { 38 $callback = $test(); 48 // same test, with no reference to callback [all …]
|
H A D | array_007.phpt | 6 // This test also needs to exclude the protected and private variables 11 class test implements IteratorAggregate 29 $test = new test; 30 $test->dyn = "dynamic"; 32 print_r($test); 34 print_r($test->getIterator()); 36 foreach($test as $key => $val) 43 test Object 47 [pri:test:private] => private 55 [storage:ArrayObject:private] => test Object [all …]
|
/php-src/Zend/tests/prop_const_expr/ |
H A D | basic_nullsafe.phpt | 12 const A = (null)?->test; 15 const B = (null)?->test->test; 18 const C = (null)->test?->test; 21 const D = (null)?->test['test']; 24 const E = (null)['test']?->test; 30 const G = (null)?->test + (new Printer ? 1 : 0); 38 Warning: Attempt to read property "test" on null in %s on line %d
|
/php-src/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 24 ["%s/resources/test.awk"]=> 26 ["%s/resources/test.bmp"]=> 28 ["%s/resources/test.gif"]=> 30 ["%s/resources/test.jpg"]=> 32 ["%s/test.json"]=> 34 ["%s/resources/test.mp3"]=> 36 ["%s/resources/test.pdf"]=> 38 ["%s/resources/test.png"]=> 40 ["%s/resources/test.ppt"]=> 42 ["%s/resources/test.tga"]=> [all …]
|