/php-src/Zend/tests/ |
H A D | bug34064.phpt | 7 function test_ref(&$test) 9 $test = "ok"; 12 function test($test) 21 $this->test($ar[]);
|
H A D | bug68118.phpt | 2 Bug #68118: $a->foo .= 'test'; can leave $a->foo undefined 8 $obj->test = 'meow'; 13 $a->undefined .= 'test'; 20 string(4) "test"
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_040.phpt | 13 function test() { 14 $test = new Test; 15 $test->x = ""; 16 $r =& $test->x; 20 test();
|
/php-src/ext/soap/tests/soap12/ |
H A D | T76_2.phpt | 14 <test:DataHolder xmlns:test="http://example.org/ts-tests" 16 <test:Data enc:id="data" xsi:type="xsd:string">hello world</test:Data> 17 </test:DataHolder> 20 <test:echoString xmlns:test="http://example.org/ts-tests" 23 </test:echoString> 27 include "soap12-test.inc";
|
/php-src/ext/openssl/tests/ |
H A D | openssl_encrypt_ccm.phpt | 17 foreach ($tests as $idx => $test) { 19 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 20 $test['iv'], $tag, $test['aad'], strlen($test['tag'])); 21 var_dump($test['ct'] === $ct); 22 var_dump($test['tag'] === $tag);
|
H A D | openssl_encrypt_gcm.phpt | 16 foreach ($tests as $idx => $test) { 18 $ct = openssl_encrypt($test['pt'], $method, $test['key'], OPENSSL_RAW_DATA, 19 $test['iv'], $tag, $test['aad'], strlen($test['tag'])); 20 var_dump($test['ct'] === $ct); 21 var_dump($test['tag'] === $tag);
|
/php-src/ext/simplexml/tests/ |
H A D | bug55098.phpt | 12 function test($nodes, $name, $callable) { 20 test($nodes, "asXml", fn ($n) => $n->asXml()); 21 test($nodes, "attributes", fn ($n) => $n->attributes()); 22 test($nodes, "children", fn ($n) => $n->children()); 23 test($nodes, "getNamespaces", fn ($n) => $n->getNamespaces()); 24 test($nodes, "xpath", fn ($n) => $n->xpath("/root/a/b")); 25 test($nodes, "var_dump", fn ($n) => var_dump($n)); 26 test($nodes, "manipulation combined with querying", function ($n) {
|
/php-src/tests/lang/ |
H A D | bug24436.phpt | 5 class test { 7 if (empty($this->test[0][0])) { print "test1";} 8 if (!isset($this->test[0][0])) { print "test2";} 12 $test1 = new test();
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | write4.phar | 2 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 4 Phar::mount("test.txt", "phar://" . __FILE__ . "/tobemounted"); 5 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . …
|
H A D | write7.phar | 3 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 4 $p->delete("test.txt"); 6 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 9 6test.txt���Hzzo�hi
|
H A D | write19.phar | 3 var_dump($p["test.txt"]->getMetadata()); 4 $p["test.txt"]->setMetadata("hi2"); 5 var_dump($p["test.txt"]->getMetadata()); 8 ?test.txt��H���E� s:2:"hi";<?php __HALT_COMPILER();�����ο_…
|
H A D | write20.phar | 3 var_dump($p["test.txt"]->getMetadata()); 4 $p["test.txt"]->delMetadata(); 5 var_dump($p["test.txt"]->getMetadata()); 8 ?test.txtK��H���E� s:2:"hi";<?php __HALT_COMPILER();3��+�%Ls…
|
H A D | write.phar | 3 echo $phar["test.txt"]->getContent(); 4 $phar["test.txt"] = "changed 6 echo $phar["test.txt"]->getContent(); 9 H s:2:"hi";test.txta��Hzzo� s:2:"hi";hi
|
H A D | write18.phar | 3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 4 $p["test.txt"]->chmod(0444); 5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 8 6test.txt���H���E�<?php __HALT_COMPILER();��$oʧϠ�P�@���� �…
|
/php-src/ext/standard/tests/ |
H A D | bug81727.phpt | 4 ..Host-test=ignore; __Host-test=correct; . Secure-test=ignore; . Elephpant=Awesome; 11 ["__Host-test"]=>
|
/php-src/ext/ffi/tests/ |
H A D | gh11934.phpt | 30 // Positive test 36 echo "Positive test $type: "; 40 // Negative test 47 // Enum test 53 echo "Positive test enum: "; 127 Positive test int8_t: bool(true) 131 Positive test char: bool(true) 132 Positive test bool: bool(true) 133 Positive test float: bool(true) 134 Positive test double: bool(true) [all …]
|
/php-src/ext/opcache/tests/ |
H A D | jmp_elim_004.phpt | 11 function test() { 12 $foo = "test"; 19 test(); 23 string(4) "test"
|
/php-src/Zend/tests/variadic/ |
H A D | by_ref.phpt | 6 function test(&... $args) { 13 test(); 14 test($a); 16 test($b, $c, $d);
|
/php-src/Zend/tests/fibers/ |
H A D | catch.phpt | 8 Fiber::suspend('test'); 17 $fiber->throw(new Exception('test')); 21 string(4) "test" 22 string(4) "test"
|
/php-src/ext/gd/tests/ |
H A D | bug79676.phpt | 7 function test($image, $desc) 18 test($src, 'No scaling'); 19 test(imagescale($src, $size * 2, $size * 2), 'Scale 200%, default mode'); 20 test(imagescale($src, $size / 2, $size / 2), 'Scale 50%, default mode'); 21 test(imagescale($src, $size * 2, $size * 2, IMG_BICUBIC), 'Scale 200%, IMG_BICUBIC mode'); 22 test(imagescale($src, $size / 2, $size / 2, IMG_BICUBIC), 'Scale 50%, IMG_BICUBIC mode');
|
/php-src/ext/mbstring/tests/ |
H A D | mb_send_mail03.phpt | 2 mb_send_mail() test 3 (lang=English) 19 mb_send_mail($to, mb_language(), "test"); 25 mb_send_mail($to, "test ".mb_language(), "test"); 42 Subject: test English 47 test
|
/php-src/ext/dom/tests/ |
H A D | gh12455.phpt | 9 $element = $doc->createElementNS('http://test', 'a:x'); 11 $element1 = $doc->createElementNS('http://test', 'b:y'); 13 $element1->appendChild($doc->createElementNS('http://test', 'b:z')); 18 $xpath->registerNamespace('b', 'http://test'); 31 <a:x xmlns:a="http://test"><b:y xmlns:b="http://test"><b:z/></b:y></a:x>
|
/php-src/ext/standard/tests/file/ |
H A D | pathinfo_basic2-win32.phpt | 18 'c:\test\adir\afile..txt', 20 'c:\test\adir\afile.', 25 '.././../test/afile', 93 string(12) "c:\test\adir" 99 string(12) "c:\test\adir" 123 string(12) "c:\test\adir" 129 string(12) "c:\test\adir" 181 string(12) "..\.\..\test" 187 string(12) "..\.\..\test" 196 string(12) ".././../test" [all …]
|
/php-src/tests/classes/ |
H A D | factory_and_singleton_010.phpt | 2 ZE2 factory and singleton, test 10 5 class test { 12 $obj = new test; 19 Warning: Call to private test::__destruct() from global scope during shutdown ignored in Unknown on…
|
H A D | factory_and_singleton_009.phpt | 2 ZE2 factory and singleton, test 9 5 class test { 12 $obj = new test; 19 Warning: Call to protected test::__destruct() from global scope during shutdown ignored in Unknown …
|