Home
last modified time | relevance | path

Searched refs:test (Results 201 – 225 of 5252) sorted by relevance

12345678910>>...211

/PHP-7.3/ext/soap/tests/soap12/
H A DT22.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 env:mustUnderstand = "1">foo</test:echoOk>
15 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
19 include "soap12-test.inc";
H A DT56.phpt14 <test:DataHolder xmlns:test="http://example.org/ts-tests"
16 <test:Data enc:id="data-1" xsi:type="xsd:string">
18 </test:Data>
19 </test:DataHolder>
22 <test:echoString xmlns:test="http://example.org/ts-tests"
25 </test:echoString>
29 include "soap12-test.inc";
/PHP-7.3/ext/simplexml/tests/
H A Dbug39760.phpt9 <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-7.3/ext/phar/tests/cache_list/files/
H A Dwrite.phar.inc9 echo $phar["test.txt"]->getContent();
10 $phar["test.txt"] = "changed
12 echo $phar["test.txt"]->getContent();
17 $phar['test.txt'] = "hi
19 $phar['test.txt']->setMetadata('hi');
H A Dwrite19.phar.inc9 var_dump($p["test.txt"]->getMetadata());
10 $p["test.txt"]->setMetadata("hi2");
11 var_dump($p["test.txt"]->getMetadata());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->setMetadata("hi");
H A Dwrite20.phar.inc9 var_dump($p["test.txt"]->getMetadata());
10 $p["test.txt"]->delMetadata();
11 var_dump($p["test.txt"]->getMetadata());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->setMetadata("hi");
H A Dwrite22.phar.inc9 var_dump($p["test.txt"]->isCompressed());
10 $p["test.txt"]->decompress();
11 var_dump($p["test.txt"]->isCompressed());
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar['test.txt']->compress(Phar::GZ);
H A Dwrite18.phar.inc9 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
10 $p["test.txt"]->chmod(0444);
11 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
16 $phar["test.txt"]->chmod(0666);
H A Dwrite2.phar4 mkdir("phar://" . __FILE__ . "/test");
5 var_dump(is_dir("phar://" . __FILE__ . "/test"));
8 var_dump(isset($phar["test"]));
9 var_dump(isset($phar2["test"]));
12 H�������������� ���s:2:"hi";���test.txt����A�H���zzo��� ���s:2:"hi";hi
/PHP-7.3/Zend/tests/
H A Dbug60825.phpt7 class test {
14 $a = new test;
16 debug_zval_dump($a, test::$x);
19 object(test)#%d (0) refcount(%d){
21 object(test)#%d (0) refcount(%d){
H A Dclass_alias_013.phpt6 namespace test\baz;
19 var_dump(new \test\baz\foo, new \test\baz\T\BAR);
23 object(test\baz\foo)#%d (0) {
25 object(test\baz\foo)#%d (0) {
H A Dbug36513.phpt5 function test($s) {
13 //test('<?php echo "1";//');
14 test('<?php echo "1";//2');
15 test('<?php echo "1";//22');
16 test('<?php echo 3; // 4 ?>5');
H A Dconcat_001.phpt8 class test {
10 return "this is test object";
15 $o = new test;
54 string(24) "Arraythis is test object"
71 string(24) "this is test objectArray"
72 string(30) "this is test objectsome string"
73 string(22) "this is test object222"
74 string(27) "this is test object2323.444"
75 string(38) "this is test objectthis is test object"
86 string(22) "222this is test object"
[all …]
H A Dclosure_018.phpt7 public function test(&$x) {
16 $test = new foo;
19 var_dump($test->test($y));
20 var_dump($x = $test->test($y));
H A Dargument_restriction_006.phpt6 public function test($foo, $extra = array("test")) {
11 public function test($foo, $extra) {
16 Warning: Declaration of Sub::test($foo, $extra) should be compatible with Base::test($foo, $extra =…
/PHP-7.3/
H A DREADME.TESTING6 at the end of a test run.
14 The easiest way to test your PHP build is to run "make test" from the
19 type "make test" to execute all or some test scripts saved under
23 make test
69 regarded as a test file.
97 sign '#' in test names and/or test cases are named bug12345.phpt.
123 MYMAIL=qa-test@domain.com
132 # Set test environment
140 if test $? -gt 0
230 php server-tests.php -w -u http://localhost/test -m /path/to/htdocs/test
[all …]
/PHP-7.3/ext/phar/tests/tar/
H A D033.phpt17 $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());
46 test dir
/PHP-7.3/ext/json/tests/
H A Dpass003.phpt2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json)
8 $test = '
12 "In this test": "It is an object."
17 echo 'Testing: ' . $test . "\n";
19 $obj = json_decode($test);
22 $arr = json_decode($test, true);
45 "In this test": "It is an object."
55 ["In this test"]=>
65 ["In this test"]=>
79 ["In this test"]=>
[all …]
/PHP-7.3/ext/mysqli/tests/
H A D015.phpt31 if (!mysqli_query($link,"DROP TABLE IF EXISTS test") ||
33 !mysqli_query($link, "INSERT INTO test VALUES (1, 'foobar')"))
34 printf("[004] Cannot create test data, [%d] %s\n",
41 if (!mysqli_query($link, "DELETE FROM test") ||
42 !mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
43 printf("[006] Cannot modify test data, [%d] %s\n",
58 if (!mysqli_query($link, "DELETE FROM test") ||
59 !mysqli_query($link, "INSERT INTO test VALUES (2, 'egon')"))
60 printf("[009] Cannot modify test data, [%d] %s\n",
65 $result = mysqli_query($link, "SELECT * FROM test");
[all …]
/PHP-7.3/tests/security/
H A Dopen_basedir_realpath.phpt29 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe…
32 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad\bad.txt) is not within th…
35 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
38 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
44 Warning: realpath(): open_basedir restriction in effect. File(%s\test\bad) is not within the allowe…
53 Warning: realpath(): open_basedir restriction in effect. File(%s\test) is not within the allowed pa…
55 string(%d) "%s\test\ok"
56 string(%d) "%s\test\ok\ok.txt"
57 string(%d) "%s\test\ok\ok.txt"
58 string(%d) "%s\test\ok\ok.txt"
[all …]
/PHP-7.3/Zend/tests/traits/
H A Derror_014.phpt7 public function test() { return 3; }
11 final public function test() { return 4; }
15 use foo { test as public; }
19 var_dump($x->test());
23 Fatal error: Cannot override final method baz::test() in %s on line %d
/PHP-7.3/ext/standard/tests/
H A Dforward_static_call_array.phpt8 function test() {
17 public static function test() {
28 public static function test() {
30 forward_static_call_array(array('A', 'test'), array('more', 'args'));
31 forward_static_call_array('test', array('other', 'args'));
36 B::test('foo');
/PHP-7.3/ext/standard/tests/strings/
H A Dbug36944.phpt6 var_dump(strncmp("test ", "e", -1));
7 var_dump(strncmp("test ", "e", 10));
8 var_dump(strncmp("test ", "e", 0));
10 var_dump(strncasecmp("test ", "E", -1));
11 var_dump(strncasecmp("test ", "E", 10));
12 var_dump(strncasecmp("test ", "E", 0));
/PHP-7.3/ext/phar/tests/zip/
H A D033.phpt18 $phar->addEmptyDir('test');
30 echo "test dir\n";
31 var_dump($phar['test']->isDir());
32 var_dump($phar['test']->isReadable());
33 $phar['test']->chmod(0000);
34 var_dump($phar['test']->isReadable());
35 $phar['test']->chmod(0666);
36 var_dump($phar['test']->isReadable());
51 test dir
/PHP-7.3/tests/
H A Dquicktester.inc21 foreach ($tests as $n=>$test)
24 if (!$test) continue;
27 if (substr(trim($test), -1, 1) === ';') {
28 echo "WARNING: trailing ';' found in test ".($n+1)."\n";
36 if (strpos($test, $a_operator)!== FALSE) {
38 list($left,$right) = explode($operator, $test);
43 echo "WARNING: unknown operator in '$test' (1)\n";
62 echo "WARNING: unknown operator in '$test' (2)\n";
69 echo "$test\n";

Completed in 41 milliseconds

12345678910>>...211