Home
last modified time | relevance | path

Searched refs:test (Results 376 – 400 of 5221) sorted by relevance

1...<<11121314151617181920>>...209

/php-src/Zend/tests/
H A Dbug34064.phpt7 function test_ref(&$test)
9 $test = "ok";
12 function test($test)
21 $this->test($ar[]);
H A Dbug68118.phpt2 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 Dassign_040.phpt13 function test() {
14 $test = new Test;
15 $test->x = "";
16 $r =& $test->x;
20 test();
/php-src/ext/soap/tests/soap12/
H A DT76_2.phpt14 <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 Dopenssl_encrypt_ccm.phpt17 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 Dopenssl_encrypt_gcm.phpt16 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 Dbug55098.phpt12 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 Dbug24436.phpt5 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 Dwrite4.phar2 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 Dwrite7.phar3 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
4 $p->delete("test.txt");
6 var_dump(file_exists("phar://" . __FILE__ . "/test.txt"));
9 6���������������������test.txt������H���zzo�������hi
H A Dwrite19.phar3 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 Dwrite20.phar3 var_dump($p["test.txt"]->getMetadata());
4 $p["test.txt"]->delMetadata();
5 var_dump($p["test.txt"]->getMetadata());
8 ?���������������������test.txt���K��H������E��� ���s:2:"hi";<?php __HALT_COMPILER();3��+�%Ls…
H A Dwrite.phar3 echo $phar["test.txt"]->getContent();
4 $phar["test.txt"] = "changed
6 echo $phar["test.txt"]->getContent();
9 H�������������� ���s:2:"hi";���test.txt���a��H���zzo��� ���s:2:"hi";hi
H A Dwrite18.phar3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
4 $p["test.txt"]->chmod(0444);
5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
8 6���������������������test.txt������H������E�������<?php __HALT_COMPILER();��$oʧϠ�P�@���� �…
/php-src/ext/standard/tests/
H A Dbug81727.phpt4 ..Host-test=ignore; __Host-test=correct; . Secure-test=ignore; . Elephpant=Awesome;
11 ["__Host-test"]=>
/php-src/ext/ffi/tests/
H A Dgh11934.phpt30 // 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 Djmp_elim_004.phpt11 function test() {
12 $foo = "test";
19 test();
23 string(4) "test"
/php-src/Zend/tests/variadic/
H A Dby_ref.phpt6 function test(&... $args) {
13 test();
14 test($a);
16 test($b, $c, $d);
/php-src/Zend/tests/fibers/
H A Dcatch.phpt8 Fiber::suspend('test');
17 $fiber->throw(new Exception('test'));
21 string(4) "test"
22 string(4) "test"
/php-src/ext/gd/tests/
H A Dbug79676.phpt7 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 Dmb_send_mail03.phpt2 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 Dgh12455.phpt9 $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 Dpathinfo_basic2-win32.phpt18 '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 Dfactory_and_singleton_010.phpt2 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 Dfactory_and_singleton_009.phpt2 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 …

Completed in 65 milliseconds

1...<<11121314151617181920>>...209