Home
last modified time | relevance | path

Searched refs:test (Results 176 – 200 of 4507) sorted by relevance

12345678910>>...181

/PHP-5.5/Zend/tests/
H A Dconcat_001.phpt8 class test {
10 return "this is test object";
15 $o = new test;
55 string(24) "Arraythis is test object"
72 string(24) "this is test objectArray"
73 string(30) "this is test objectsome string"
74 string(22) "this is test object222"
75 string(27) "this is test object2323.444"
76 string(38) "this is test objectthis is test object"
87 string(22) "222this is test object"
[all …]
H A Dns_042.phpt5 namespace test\ns1;
9 use test\ns1 as ns2;
10 use test as ns3;
13 echo \test\ns1\FOO;
14 echo \test\ns1\FOO;
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 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 Dheredoc_012.phpt5 $test = "foo";
7 test: $test
12 test: foo
/PHP-5.5/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";
H A DT57.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"
22 <test:inputString enc:ref="#data" xsi:type="xsd:string" />
23 </test:echoString>
27 include "soap12-test.inc";
H A DT23.phpt11 <test:Unknown xmlns:test="http://example.org/ts-tests"
12 env:mustUnderstand="1">foo</test:Unknown>
13 <test:echoOk xmlns:test="http://example.org/ts-tests"
14 env:mustUnderstand="wrong">foo</test:echoOk>
20 include "soap12-test.inc";
/PHP-5.5/ext/reflection/tests/
H A DReflectionExtension_export_basic.phpt10 $test = ob_get_clean();
11 var_dump(empty($test));
12 unset($test);
15 $test = ob_get_clean();
16 var_dump(empty($test));
/PHP-5.5/ext/standard/tests/general_functions/
H A D010.phpt5 class test {
7 throw new Exception('test');
10 return test::_foo();
14 var_dump(register_shutdown_function(array("test","__call")));
19 Fatal error: Non-static method test::__call() cannot be called statically in %s on line %d
/PHP-5.5/Zend/tests/traits/
H A Dstatic_003.phpt9 public static function test() {
10 return static::$test;
16 protected static $test = "Test A";
20 protected static $test = "Test B";
23 echo B::test();
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-5.5/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-5.5/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-5.5/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-5.5/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";
/PHP-5.5/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);
/PHP-5.5/ext/xmlrpc/
H A Dconfig.m413 if test -z "$PHP_LIBXML_DIR"; then
24 if test "$PHP_XMLRPC" != "no"; then
35 if test "$PHP_LIBXML" = "no"; then
40 if test "$PHP_XML" = "no"; then
50 … if test -f $i/$PHP_LIBDIR/libexpat.a || test -f $i/$PHP_LIBDIR/libexpat.$SHLIB_SUFFIX_NAME; then
59 if test "$testval" = "no"; then
65 if test "$PHP_ICONV_SHARED" = "yes" || test "$PHP_ICONV" = "no"; then
71 if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then
81 if test "$PHP_XMLRPC" = "yes"; then
93 elif test "$PHP_XMLRPC" != "no"; then
[all …]
/PHP-5.5/ext/pcre/tests/
H A Dpreg_match_all_basic.phpt9 $string = 'Hello, world! This is a test. This is another test. \[4]. 34534 string.';
12 …./', $string, $match2, PREG_SET_ORDER)); //finds "This is a test." and "This is another test." (no…
18 …a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches)
22 var_dump(preg_match_all('/test/', $string));
46 string(15) "This is a test."
48 string(5) " test"
53 string(21) "This is another test."
55 string(11) "nother test"
/PHP-5.5/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));

Completed in 39 milliseconds

12345678910>>...181