Home
last modified time | relevance | path

Searched refs:test (Results 226 – 250 of 5012) sorted by relevance

12345678910>>...201

/PHP-7.4/Zend/tests/
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 Dbug46381.phpt6 class test {
11 $test = new test();
12 $test->method();
19 #0 %s(%d): test->method()
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 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 Doverloaded_func_002.phpt5 if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
10 var_dump($a->{trim(" test")}());
13 string(4) "test"
H A Dbug39445.phpt5 class test {
12 $test = new test();
13 echo strtoupper($test);
H A Dinclude_stat_is_quiet.phpt8 $path = str_replace('test://', 'file://', $path);
17 stream_wrapper_register('test', StreamWrapper::class);
18 set_include_path('test://foo:test://bar');
30 …re_once(): Failed opening required 'doesnt_exist.php' (include_path='test://foo:test://bar') in %s…
H A Dbug48248.phpt10 return $this->test;
16 private $test;
20 var_dump($b->test);
24 Fatal error: Uncaught Error: Cannot access private property B::$test in %s:%d
26 #0 %s(%d): A->__get('test')
/PHP-7.4/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);
H A Dspl_iterator_iterator_constructor.phpt12 $test = new IteratorIterator($arrayIterator);
14 $test = new IteratorIterator($arrayIterator, 1);
15 $test = new IteratorIterator($arrayIterator, 1, 1);
16 $test = new IteratorIterator($arrayIterator, 1, 1, 1);
17 $test = new IteratorIterator($arrayIterator, 1, 1, 1, 1);
/PHP-7.4/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.4/ext/standard/tests/class_object/
H A Dforward_static_call_002.phpt8 public static function test() {
13 function test() {
14 forward_static_call(array('A', 'test'));
17 test();
24 #1 %s(%d): test()
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_071.phpt10 $test = new Test;
11 var_dump($test);
13 $test->x = &$y;
14 var_dump($y, $test);
18 var_dump($y, $z, $test);
/PHP-7.4/ext/hash/tests/
H A Djoaat.phpt16 foreach ($tests as $test) {
19 $result = hash("joaat", $test[0]);
20 if ($result != $test[1]) {
21 …echo "Iteration " . $i . " failed - expected '" . $test[1] . "', got '" . $result . "' for '" . $t…
/PHP-7.4/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";
/PHP-7.4/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.4/ext/xmlrpc/
H A Dconfig.m420 if test "$PHP_XMLRPC" != "no"; then
29 if test "$PHP_EXPAT" = "no"; then
31 if test "$PHP_LIBXML" = "no"; then
36 if test "$PHP_XML" = "no"; then
46 if test "$PHP_ICONV_SHARED" = "yes" || test "$PHP_ICONV" = "no"; then
48 if test "$PHP_ICONV_DIR" != "no"; then
52 if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then
62 if test "$PHP_XMLRPC" = "yes"; then
74 elif test "$PHP_XMLRPC" != "no"; then
86 if test -r $i/include/xmlrpc.h; then
[all …]
/PHP-7.4/ext/sqlite3/tests/
H A Dsqlite3_bind_bug68849.phpt10 $db->exec("CREATE TABLE test (a INTEGER, b TEXT, c REAL);" .
11 "INSERT INTO test VALUES (1, 'hello', 3.14);" .
12 "INSERT INTO test VALUES (3, 'world', 3.15);" .
13 "INSERT INTO test VALUES (0, '42', 0.42);"
16 $s = $db->prepare('SELECT * FROM test WHERE (a+2) = ?;');
21 $s = $db->prepare('SELECT * FROM test WHERE a = ?;');
26 $s = $db->prepare('SELECT * FROM test WHERE a = ?;');
31 $s = $db->prepare('SELECT * FROM test WHERE c = ?;');
/PHP-7.4/ext/standard/tests/streams/
H A Dbug61371.phpt5 function test($doFclose) {
8 for($test=1;$test<=3;$test++) {
27 test(true);
28 test(false);
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dbug54977.phpt8 if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
26 file_put_contents($prefix . $d . ".test", $d);
37 unlink($prefix . $d . ".test");
47 多国語.test
49 汚れて掘る.test
51 王.test
/PHP-7.4/ext/standard/tests/array/
H A Dextract_typed_ref.phpt11 $test = new Test;
12 $i =& $test->i;
13 $s =& $test->s;
17 var_dump($test->i, $test->s);
/PHP-7.4/Zend/tests/traits/
H A Derror_011.phpt7 public function test() { return 3; }
10 public function test() { return 2; }
14 public function test() { return 1; }
22 var_dump($x->test());
26 Fatal error: Trait method test has not been applied, because there are collisions with other trait …
/PHP-7.4/Zend/tests/bug67436/
H A Dbug67436_nohandler.phpt15 $b->test();
17 Warning: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT) in %s%e…
18 b::test()
19 a::test(c::TESTCONSTANT)
/PHP-7.4/tests/classes/
H A Dstatic_properties_001.phpt6 class test {
10 var_dump(test::$ar);
12 test::$ar[] = 1;
14 var_dump(test::$ar);

Completed in 71 milliseconds

12345678910>>...201