Home
last modified time | relevance | path

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

12345678910>>...190

/PHP-7.0/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-7.0/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.0/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.0/Zend/tests/
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 =…
H A Dobjects_027.phpt13 public function test() {
19 $foo->test();
20 $foo::test();
22 call_user_func(array($foo, 'test'));
23 call_user_func(array('foo', 'test'));
30 Deprecated: Non-static method foo::test() should not be called statically in %s on line %d
38 Deprecated: %son-static method foo::test() should not be called statically in %s on line %d
H A Dlsb_017.phpt6 public static function test($x=null) {
21 echo A::test(B::test(C::test(D::test())))."\n";
H A Dbug47593.phpt6 namespace test;
21 var_dump(interface_exists('\test\baz'));
22 var_dump(function_exists('\test\bar'));
23 var_dump(constant('\test\TEST'));
24 var_dump(defined('\test\TEST'));
H A Dheredoc_006.phpt2 braced complex variable replacement test (heredoc)
9 This is heredoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
14 This is heredoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
22 This is heredoc test #s 1, 2, 3, and 4.
23 This is heredoc test #s 1, 2, 3, and 4.
H A Dheredoc_007.phpt2 braced and unbraced complex variable replacement test (heredoc)
9 This is heredoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
14 This is heredoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
22 This is heredoc test #s 1, 2, 3, and 4.
23 This is heredoc test #s 1, 2, 3, and 4.
H A Dbug46381.phpt6 class test {
11 $test = new test();
12 $test->method();
19 #0 %s(%d): test->method()
H A Dclass_alias_012.phpt6 namespace test\baz;
26 object(test\baz\foo)#%d (0) {
28 object(test\baz\foo)#%d (0) {
30 object(test\baz\foo)#%d (0) {
32 object(test\baz\foo)#%d (0) {
H A Dcompare_002_64bit.phpt8 class test {
25 new test,
82 string(0) "" !== object(test)#%d (0) {}
99 int(1) !== object(test)#%d (0) {}
116 float(2.5) !== object(test)#%d (0) {}
133 int(0) !== object(test)#%d (0) {}
201 NULL !== object(test)#%d (0) {}
275 object(test)#%d (0) {} !== int(1)
277 object(test)#%d (0) {} !== int(0)
281 object(test)#%d (0) {} !== NULL
[all …]
/PHP-7.0/ext/soap/tests/soap12/
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-7.0/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-7.0/ext/dom/tests/
H A Dbug67949.phpt8 <a href="test">hello world</a>
25 $offset = ['test'];
30 $something = 'test';
37 $offset = 'test';
64 string(4) "test"
72 string(4) "test"
74 string(4) "test"
77 string(4) "test"
78 string(4) "test"
81 string(4) "test"
/PHP-7.0/ext/phar/tests/cache_list/files/
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.0/ext/phar/tests/
H A Dbug77022.phpt19 $phar->addFile($sFile, 'test-file-phar');
20 $phar->addFromString("test-from-string", 'test-file-phar');
22 var_dump(decoct(stat(__DIR__ . '/test-file-phar')['mode']));
23 var_dump(decoct(stat(__DIR__ . '/test-from-string')['mode']));
24 unlink(__DIR__ . '/test-file-phar');
25 unlink(__DIR__ . '/test-from-string');
/PHP-7.0/ext/session/tests/
H A Dsession_commit_variation4.phpt21 var_dump(session_id("test"));
47 string(4) "test"
49 string(4) "test"
52 string(4) "test"
54 string(4) "test"
56 string(4) "test"
58 string(4) "test"
/PHP-7.0/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-7.0/ext/spl/tests/
H A Dobserver_003.phpt8 public $test = 25;
10 public function __construct($test = 42)
12 $this->test = $test;
27 var_dump($object->test);
39 var_dump($object->test);
/PHP-7.0/ext/standard/tests/file/
H A Dstream_rfc2397_005.phpt12 'data:,;test',
13 'data:text/plain,test',
14 'data:text/plain;charset=US-ASCII,test',
32 string(5) ";test"
33 string(4) "test"
34 string(4) "test"
/PHP-7.0/ext/gd/
H A Dconfig.m412 if test -z "$PHP_WEBP_DIR"; then
17 if test -z "$PHP_JPEG_DIR"; then
22 if test -z "$PHP_PNG_DIR"; then
27 if test -z "$PHP_ZLIB_DIR"; then
49 if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
245 if test "$PHP_GD" != "no"; then
261 if test "$PHP_GD" = "yes"; then
296 if test -n "$GD_XPM_DIR"; then
314 if test "$PHP_GD" != "no"; then
332 if test -z "$GD_INCLUDE"; then
[all …]

Completed in 42 milliseconds

12345678910>>...190