Home
last modified time | relevance | path

Searched refs:test (Results 51 – 75 of 4054) sorted by relevance

12345678910>>...163

/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_097.phpt12 $test = new Test;
16 --$test->foo;
20 var_dump($test->foo);
22 $test->foo--;
30 ++$test->foo;
36 $test->foo++;
43 $ref =& $test->foo;
47 --$test->foo;
53 $test->foo--;
61 ++$test->foo;
[all …]
H A Dtyped_properties_096.phpt11 $test = new Test1;
12 $test->prop2 = 123;
13 $ref =& $test->prop2;
15 $test->prop =& $ref;
19 var_dump($test);
26 $test = new Test2;
27 $test->prop2 = null;
28 $ref =& $test->prop2;
29 $test->prop =& $ref;
30 var_dump($test);
/php-src/Zend/tests/
H A Dns_002.phpt5 namespace test\ns1;
13 use test\ns1\Foo as Bar;
14 use test\ns1 as ns2;
15 use test\ns1;
18 \test\ns1\Foo::bar();
24 test\ns1\Foo
25 test\ns1\Foo
26 test\ns1\Foo
27 test\ns1\Foo
28 test\ns1\Foo
H A Dnamespace_name_reserved_keywords.phpt7 function test() {
13 function test() {
19 function test() {
26 use function fn\test as test2;
27 use function self\test as test3;
28 fn\test();
35 iter\fn\test
36 fn\test
37 self\test
H A Dbug39346.phpt5 class test
19 $test = new test(2);
20 $test = new test(1);
21 $test = new test(2);
22 $test = new test(3);
H A Dns_001.phpt5 namespace test\ns1;
25 $y = new \test\ns1\Foo;
27 \test\ns1\Foo::baz();
30 test\ns1\Foo
31 test\ns1\Foo
32 test\ns1\Foo
33 test\ns1\Foo
34 test\ns1\Foo
35 test\ns1\Foo
H A Dundef_index_to_exception.phpt10 $test = [];
12 $test[0] .= "xyz";
16 var_dump($test);
19 $test["key"] .= "xyz";
23 var_dump($test);
25 unset($test);
27 $GLOBALS["test"] .= "xyz";
32 var_dump($test);
45 Undefined global variable $test
46 Undefined variable $test
H A Dbug63217.phpt30 $test = new Test;
33 isset($test['0']);
34 isset($test['123']);
35 unset($test['0']);
36 unset($test['123']);
37 $test['0'] = true;
38 $test['123'] = true;
39 $foo = $test['0'];
40 $foo = $test['123'];
55 function test(): string {
[all …]
/php-src/Zend/tests/match/
H A D043.phpt8 function test(mixed $var) {
16 test(null);
17 test(1);
18 test(5.5);
19 test(5.0);
20 test("foo");
21 test(true);
22 test(false);
23 test([1, 2, 3]);
24 test(new Beep());
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dbug36011.phpt8 static function test()
15 array_map(array('TestClass', 'test'), array('array_value'));
20 call_user_func(array('TestClass', 'test'));
25 call_user_func(array('TestClass', 'test'));
29 TestClass::test();
40 TestClass::test()
41 TestClass::test()
42 TestClass::test()
43 TestClass::test()
44 TestClass::test()
H A D009.phpt5 function test($str) {
9 echo test("");
10 echo test("a");
11 echo test("abc");
12 echo test("message digest");
13 echo test("abcdefghijklmnopqrstuvwxyz");
14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
H A D007.phpt5 function test($str) {
9 echo test("");
10 echo test("a");
11 echo test("abc");
12 echo test("message digest");
13 echo test("abcdefghijklmnopqrstuvwxyz");
14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
/php-src/ext/pcre/tests/
H A Dskip.ini3 test[]=locales.phpt
7 test[]=007.phpt
8 test[]=bug27103.phpt
9 test[]=invalid_utf8_offset.phpt
10 test[]=invalid_utf8.phpt
11 test[]=preg_replace2.phpt
15 test[]=backtrack_limit.phpt
16 test[]=pcre_anchored.phpt
17 test[]=recursion_limit.phpt
/php-src/ext/standard/tests/streams/
H A Dbug40459.phpt59 stream_wrapper_register('test', 'testwrapper', STREAM_IS_URL);
62 fopen('test://test', 'r');
66 stat('test://test');
70 opendir('test://test');
74 rmdir('test://test');
78 mkdir('test://test');
82 rename('test://test', 'test://test2');
86 unlink('test://test');
90 touch('test://test', time());
/php-src/ext/standard/tests/http/http_build_query/
H A Dbug26817.phpt5 class test {
8 public $test;
14 $this->test = 'test';
20 $obj = new test();
25 string(27) "foo=lala&bar=meuh&test=test"
26 string(9) "test=test"
/php-src/tests/classes/
H A Dinterface_doubled.phpt46 echo $t->test('if_a');
47 echo $t->test('if_b');
48 echo $t->test('if_c');
49 echo $t->test('if_d');
50 echo $t->test('if_e');
63 echo $t->test('if_a');
64 echo $t->test('if_b');
65 echo $t->test('if_c');
66 echo $t->test('if_d');
67 echo $t->test('if_e');
[all …]
/php-src/ext/soap/tests/bugs/
H A Dbug38004.phpt34 $strA = 'test & test';
35 $strB = 'test & test';
41 test & test
42 test & test
43 test & test
44 test & test
/php-src/ext/standard/tests/strings/
H A Dchop_variation5.phpt11 var_dump ( chop("chop test \t\0 ") ); /* without second Argument */
12 …var_dump ( chop("chop test " , "") ); /* no characters in second Argument …
14 …var_dump ( chop("chop test ", " ") ); /* with single space as second Argum…
24 string(9) "chop test"
25 string(12) "chop test "
26 string(17) "chop test "
27 string(9) "chop test"
28 string(10) "chop test "
29 string(9) "chop test"
30 string(9) "chop test"
[all …]
/php-src/ext/spl/tests/
H A Darray_003.phpt6 // This test also needs to exclude the protected and private variables
11 class test
23 $test = new test;
24 $test->dyn = "dynamic";
26 print_r($test);
28 $object = new ArrayObject($test);
32 foreach($test as $key => $val)
39 test Object
43 [pri:test:private] => private
49 [storage:ArrayObject:private] => test Object
[all …]
H A Dobserver_006.phpt8 public $test = 25;
12 $this->test = $test;
91 ["test"]=>
101 ["test"]=>
123 ["test"]=>
133 ["test"]=>
151 ["test"]=>
161 ["test"]=>
171 ["test"]=>
195 ["test"]=>
[all …]
H A Ddualiterator_001.phpt13 function test($a, $b, $identical = false)
21 test(array(1,2,3), array(1,2,3));
22 test(array(1,2,3), array(1,2));
23 test(array(1,array(21,22),3), array(1,array(21,22),3));
24 test(array(1,array(21,22),3), array(1,array(21,22,23),3));
25 test(array(1,array(21,22),3), array(1,array(21,22,3)));
26 test(array(1,array(21,22),3), array(1,array(21),array(22),3));
27 test(array(1,2,3), array(1,"2",3), false);
28 test(array(1,2,3), array(1,"2",3), true);
29 test(array(1,array(21,22),3), array(1,array(21,"22"),3), false);
[all …]
H A DCallbackFilterIteratorTest.phpt7 function test($value, $key, $inner) {
8 return test($value, $key, $inner);
13 static function test($value, $key, $inner) {
14 return test($value, $key, $inner);
18 function test($value, $key, $inner) {
31 'static method (2)' => function() { return 'B::test'; },
32 'function' => function() { return 'test'; },
36 foreach($tests as $name => $test) {
38 $callback = $test();
48 // same test, with no reference to callback
[all …]
H A Darray_007.phpt6 // This test also needs to exclude the protected and private variables
11 class test implements IteratorAggregate
29 $test = new test;
30 $test->dyn = "dynamic";
32 print_r($test);
34 print_r($test->getIterator());
36 foreach($test as $key => $val)
43 test Object
47 [pri:test:private] => private
55 [storage:ArrayObject:private] => test Object
[all …]
/php-src/Zend/tests/prop_const_expr/
H A Dbasic_nullsafe.phpt12 const A = (null)?->test;
15 const B = (null)?->test->test;
18 const C = (null)->test?->test;
21 const D = (null)?->test['test'];
24 const E = (null)['test']?->test;
30 const G = (null)?->test + (new Printer ? 1 : 0);
38 Warning: Attempt to read property "test" on null in %s on line %d
/php-src/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt24 ["%s/resources/test.awk"]=>
26 ["%s/resources/test.bmp"]=>
28 ["%s/resources/test.gif"]=>
30 ["%s/resources/test.jpg"]=>
32 ["%s/test.json"]=>
34 ["%s/resources/test.mp3"]=>
36 ["%s/resources/test.pdf"]=>
38 ["%s/resources/test.png"]=>
40 ["%s/resources/test.ppt"]=>
42 ["%s/resources/test.tga"]=>
[all …]

Completed in 24 milliseconds

12345678910>>...163