/php-src/tests/lang/ |
H A D | bug27439.phpt | 12 class test { 57 $test = new test(); 58 $test->case1(); 59 $test->case2(); 60 $test->case3(); 61 $test->case4(); 62 $test->case5(); 63 $test->case6(); 69 Warning: Undefined property: test::$foobar in %s on line %d
|
H A D | bug73172.inc | 3 function test($a, $x, $y){ 6 test('test', 9223372036854775808, 'test');
|
/php-src/ext/opcache/tests/opt/ |
H A D | nullsafe_002.phpt | 16 function test(?Test $test) { 17 var_dump($test?->prop); 32 test: 37 ; #0.CV0($test) NOVAL [undef] 43 0000 #1.CV0($test) [null, object (instanceof Test)] = RECV 1 45 0002 #2.T1 [null] = JMP_NULL #1.CV0($test) [null, object (instanceof Test)] BB2 53 …#3.CV0($test) [object (instanceof Test)] = Pi<BB0>(#1.CV0($test) [null, object (instanceof Test)] … 54 0003 #4.T1 [long] = FETCH_OBJ_R #3.CV0($test) [object (instanceof Test)] string("prop")
|
/php-src/Zend/tests/readonly_props/ |
H A D | magic_get_set.phpt | 32 $test = new Test; 35 var_dump(isset($test->prop)); 37 var_dump($test->prop); 42 $test->prop = 1; 47 unset($test->prop); 52 $test->unsetProp(); 54 var_dump(isset($test->prop)); 55 var_dump($test->prop); 56 $test->prop = 2; 58 unset($test->prop);
|
/php-src/ext/zip/tests/ |
H A D | bug80833.phpt | 14 $create_zip->addFromString("test.txt", "This is a test string."); 15 $create_zip->setEncryptionName("test.txt", ZipArchive::EM_AES_256, "first_password"); 16 $create_zip->addFromString("test2.txt", "This is another test string."); 27 var_dump(file_get_contents("zip://" . __DIR__ . "/80833.zip#test.txt", false, $c)); 33 $file_stream = $extract_zip->getStream("test.txt"); 43 $file_stream = $extract_zip->getStream("test.txt"); 53 string(22) "This is a test string." 54 string(22) "This is a test string." 55 string(28) "This is another test string."
|
/php-src/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-src/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-src/Zend/tests/ |
H A D | bug74340.phpt | 20 $test = new Test; 21 $test->test; 25 __get test 27 Warning: Undefined property: Test::$test in %s on line %d 30 Warning: Undefined property: Test::$test in %s on line %d
|
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 | 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 | 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 …]
|
/php-src/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-src/ext/standard/tests/strings/ |
H A D | strrev_variation2.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 | stripos.phpt | 2 stripos() function test 5 var_dump(stripos("test string", "TEST")); 6 var_dump(stripos("test string", "strIng")); 7 var_dump(stripos("test string", "stRin")); 8 var_dump(stripos("test string", "t S")); 9 var_dump(stripos("test string", "G")); 11 var_dump(stripos("tEst", "test")); 12 var_dump(stripos("teSt", "test"));
|
/php-src/ext/standard/tests/file/ |
H A D | include_streams.phpt | 106 die("test wrapper registration failed"); 109 echo file_get_contents("test://GLOBALS/data1"); 110 include("test://GLOBALS/data1"); 111 include_once("test://GLOBALS/data2"); 112 include_once("test://GLOBALS/data2"); 127 test://GLOBALS/data1 128 test://GLOBALS/data2 130 test://GLOBALS/data3 131 test://GLOBALS/data4 133 test://GLOBALS/data5 [all …]
|
H A D | pathinfo_basic1-win32.phpt | 149 string(7) "c:\test" 155 string(7) "c:\test" 162 string(7) "c:\test" 168 string(7) "c:\test" 227 string(7) "c:\test" 240 string(7) "c:\test" 253 string(8) "c://test" 266 string(7) "c:\test" 279 string(7) "c:\test" 294 string(7) "c:\test" [all …]
|
/php-src/Zend/tests/gh10168/ |
H A D | assign_static_untyped_prop_with_prop_ref.phpt | 7 static $test; 11 Test::$test = null; 15 Test::$test = new Test; 16 Test::$test2 = &Test::$test; 17 var_dump(Test::$test = new Test);
|
H A D | assign_static_prop_with_prop_ref.phpt | 7 static ?Test $test; 11 Test::$test = null; 15 Test::$test = new Test; 16 Test::$test2 = &Test::$test; 17 var_dump(Test::$test = new Test);
|
H A D | assign_static_untyped_prop_ref_with_prop_ref.phpt | 7 static $test; 11 Test::$test = null; 15 Test::$test = new Test; 16 Test::$test2 = &Test::$test; 18 var_dump(Test::$test = &$tmp);
|
/php-src/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
|
/php-src/ext/phar/tests/tar/ |
H A D | 033.phpt | 17 $phar->addEmptyDir('test'); 26 echo "test dir\n"; 27 var_dump($phar['test']->isReadable()); 28 $phar['test']->chmod(0000); 29 var_dump($phar['test']->isReadable()); 30 $phar['test']->chmod(0666); 31 var_dump($phar['test']->isReadable()); 45 test dir
|
/php-src/ext/reflection/tests/ |
H A D | bug46064_2.phpt | 11 $x->test = 2000; 15 var_dump($p->getProperty('test')); 25 class test extends bar { 38 new test; 44 string(4) "test" 52 string(4) "test" 65 string(4) "test" 72 string(4) "test"
|
/php-src/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…
|