/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_073.phpt | 15 $test = new Test; 16 unset($test->val); 17 var_dump($test); 18 var_dump($val = &$test->val); 19 var_dump($test); 21 $test->prop = "x"; 22 var_dump($test, $val);
|
H A D | typed_properties_class_loading.phpt | 15 $test = new Test; 17 $test->propX = new stdClass; 26 $test->propX = new X; 27 var_dump($test->propX); 29 $test->propY = null; 30 $r =& $test->propY; 32 $test->propY = new stdClass; 42 var_dump($test->propY);
|
/php-src/ext/dom/tests/ |
H A D | DOM4_ChildNode_wrong_document.phpt | 9 function test($method) { 11 $dom1->loadXML('<test/>'); 14 $dom2->loadXML('<test><foo /></test>'); 26 test("after"); 27 test("before"); 28 test("replaceWith");
|
/php-src/ext/simplexml/tests/ |
H A D | 000.phpt | 10 function test($what) 20 test('sxe'); 21 test('sxe->elem1'); 22 test('sxe->elem1[0]'); 27 test('sxe->elem1[1]'); 28 test('sxe->elem1[2]'); 29 test('sxe->elem11'); 32 test('sxe->elem22'); 102 ["test"]=> 137 ["test"]=> [all …]
|
/php-src/sapi/cgi/tests/ |
H A D | 012.phpt | 27 $filename_good = __DIR__."/012_good.test.php"; 29 $filename_bad = __DIR__."/012_bad.test.php"; 43 class test 69 [0] => No syntax errors detected in %s012_good.test.php 70 [1] => No syntax errors detected in %s012_good.test.php 84 [3] => Errors parsing %s012_bad.test.php 92 [2] => Errors parsing %s012_bad.test.php 95 [5] => Errors parsing %s012_bad.test.php 102 [2] => Errors parsing %s012_bad.test.php 110 [2] => Errors parsing %s012_bad.test.php [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | pathinfo_basic2.phpt | 18 'c:\test\adir\afile..txt', 20 'c:\test\adir\afile.', 24 '..\.\..\test\afile.txt', 25 '.././../test/afile', 98 string(19) "c:\test\adir\afile." 126 string(19) "c:\test\adir\afile." 128 string(18) "c:\test\adir\afile" 137 string(18) "c:\test\adir\afile" 186 string(18) "..\.\..\test\afile" 198 string(12) ".././../test" [all …]
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_log.c | 116 int token, test; in fpm_log_write() local 133 test = 0; in fpm_log_write() 135 test = 1; in fpm_log_write() 140 if (!test) { in fpm_log_write() 213 if (!test) { in fpm_log_write() 254 if (!test) { in fpm_log_write() 262 if (!test) { in fpm_log_write() 268 if (!test) { in fpm_log_write() 274 if (!test) { in fpm_log_write() 466 if (!test) { in fpm_log_write() [all …]
|
/php-src/ext/dba/tests/ |
H A D | dba_inifile_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/soap/tests/bugs/ |
H A D | bug30106.phpt | 11 "schema"=>"<xsd:schema><element name=\"test\" type=\"xsd:string\"/></xsd:schema>", 12 "any"=>"<test>Hello World!</test><test>Bye World!</test>")); 65 …Result><xsd:schema><element name="test" type="xsd:string"/></xsd:schema><test>Hello World!</test><… 70 string(65) "<xsd:schema><element name="test" type="xsd:string"/></xsd:schema>" 72 string(48) "<test>Hello World!</test><test>Bye World!</test>"
|
H A D | bug41097.phpt | 7 function test($soap, $array) { 8 $soap->test($array); 13 $soap = new SoapClient(null, array('uri' => 'http://uri/', 'location' => 'test://', 'exceptions' =>… 14 test($soap, array('Foo', 'Bar')); 15 test($soap, array(5 => 'Foo', 10 => 'Bar')); 16 test($soap, array('5' => 'Foo', '10' => 'Bar')); 17 $soap->test(new SoapVar(array('Foo', 'Bar'), APACHE_MAP)); 19 $soap->test(new SoapVar(array('Foo', 'Bar'), SOAP_ENC_ARRAY));
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | prop_ref_assign.phpt | 11 $test = new Test; 13 $test->x =& $r; 14 $test->y =& $r; 32 unset($r, $test->x, $test->y); 34 $test->x = 42; 36 $test->y =& $test->x; 41 unset($test->x, $test->y); 43 $test->y = 42.0; 45 $test->x =& $test->y;
|
/php-src/ext/standard/tests/file/windows_links/ |
H A D | bug48746_2.phpt | 8 die('skip windows only test'); 18 $dirname = __DIR__ . "\\mnt\\test\\directory"; 20 chdir(__DIR__ . "\\mnt\\test"); 28 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>"); 30 print_r(scandir("$fullpath\\mnt\\test\\directory")); 31 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction")); 32 unlink("$fullpath\\mnt\\test\\directory\\b.php"); 35 rmdir(__DIR__ . "\\mnt\\test\\directory"); 36 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction"); 37 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume"); [all …]
|
/php-src/Zend/tests/type_declarations/literal_types/ |
H A D | true_no_coercion.phpt | 6 function test(true $v) { var_dump($v); } 9 test(1); 14 test('1'); 19 test([1]); 24 test(new stdClass()); 31 test(): Argument #1 ($v) must be of type true, int given, called in %s on line %d 32 test(): Argument #1 ($v) must be of type true, string given, called in %s on line %d 33 test(): Argument #1 ($v) must be of type true, array given, called in %s on line %d 34 test(): Argument #1 ($v) must be of type true, stdClass given, called in %s on line %d
|
/php-src/ext/soap/tests/soap12/ |
H A D | T74.phpt | 11 <test:echoOk xmlns:test="http://example.org/ts-tests" 12 env:role="http://www.w3.org/2003/05/soap-envelope/role/next">foo</test:echoOk> 13 <test:Unknown xmlns:test="http://example.org/ts-tests"> 14 <test:raiseFault env:mustUnderstand="1" 16 </test:raiseFault> 17 </test:Unknown> 23 include "soap12-test.inc";
|
/php-src/ext/spl/tests/ |
H A D | DirectoryIterator_getExtension_basic.phpt | 2 SPL: DirectoryIterator::getExtension() basic test 8 die('Failed to create test directory'); 11 $files = array('test.txt', 'test.extension', 'test'); 34 $files = array('test.txt', 'test.extension', 'test');
|
/php-src/ext/standard/tests/class_object/ |
H A D | forward_static_call_003.phpt | 9 public static function test() { 18 public static function test() { 20 forward_static_call(array('parent', 'test')); 28 public static function test() { 30 forward_static_call(array('B', 'test')); 34 A::test(); 36 B::test(); 38 C::test();
|
H A D | get_object_vars_basic_001.phpt | 8 public static function test($b) { 20 public static function test($b) { 29 public static function test($b) { 47 B::test($b); 49 C::test($b); 51 A::test($b); 53 X::test($b); 63 B::test 76 C::test 85 A::test [all …]
|
/php-src/ext/phar/tests/files/ |
H A D | include_path.phar.inc | 2 // test advanced example 7 $phar2['test/file1.php'] = 'test/file1.php 9 $phar['hello/test.php'] = '<?php 14 include 'phar://' . __FILE__ . '/hello/test.php'; 15 …lude_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test'); 16 include 'phar://' . __FILE__ . '/hello/test.php';
|
/php-src/ext/opcache/tests/opt/ |
H A D | coalesce.phpt | 15 $test = $test ?? true; 16 return $test; 20 $test ??= true; 21 return $test; 36 0000 T1 = COALESCE CV0($test) 0001 43 0000 T1 = COALESCE CV0($test) 0001
|
/php-src/ext/opcache/tests/jit/ |
H A D | mod_003.phpt | 16 function test1($test) { 17 $test[0] %= 3; 18 return $test; 20 function test2($test) { 21 $test->prop %= 3; 22 return $test;
|
/php-src/Zend/tests/traits/ |
H A D | error_015.phpt | 8 public function test() { return 3; } 12 public function test() { return 4; } 17 baz::test as zzz; 22 var_dump($x->test()); 26 Fatal error: Trait method baz::test has not been applied as bar::test, because of collision with fo…
|
/php-src/ext/standard/tests/array/ |
H A D | compact_this.phpt | 8 function test(){ 11 })->test() 16 function test(){ 19 })->test() 24 function test(){ 27 })->test()
|
/php-src/Zend/tests/arg_unpack/ |
H A D | traversable_with_by_ref_parameters.phpt | 6 function test($val1, $val2, $val3, &$ref) { 16 test(1, 2, 3, $b, ...gen([4, 5, 6])); 19 test(...gen([1, 2, 3, 4])); 20 test(1, 2, ...gen([3, 4])); 21 test(...gen([1, 2]), ...gen([3, 4])); 27 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value… 29 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value… 31 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
|
/php-src/ext/opcache/tests/ |
H A D | preload_method_static_vars.inc | 3 public static function test() { 10 Foo::test(); 12 Foo::test(); 13 Bar::test(); 14 Bar::test();
|
/php-src/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");
|