Home
last modified time | relevance | path

Searched refs:test (Results 26 – 50 of 4116) sorted by relevance

12345678910>>...165

/PHP-7.4/Zend/tests/
H A Dns_012.phpt12 use test as ns3;
16 \test\ns1\foo();
17 \test\ns1\bar();
27 test\ns1\foo
28 test\ns1\bar
29 test\ns1\foo
30 test\ns1\bar
31 test\ns1\foo
32 test\ns1\bar
33 test\ns1\foo
[all …]
H A Dnowdoc_016.phpt6 $test = <<<'TEST'
9 var_dump(strlen($test));
11 $test = <<<'TEST'
15 var_dump(strlen($test));
17 $test = <<<'TEST'
21 var_dump(strlen($test));
23 $test = <<<'TEST'
27 var_dump(strlen($test));
29 $test = <<<'TEST'
33 var_dump(strlen($test));
H A Dlsb_021.phpt6 public static function test() {
13 parent::test();
14 call_user_func("parent::test");
16 self::test();
17 call_user_func("self::test");
21 A::test();
22 call_user_func("A::test");
23 call_user_func(array("A", "test"));
24 B::test();
25 call_user_func("B::test");
[all …]
H A Dheredoc_015.phpt6 $test = <<<TEST
9 var_dump(strlen($test) == 0);
11 $test = <<<TEST
15 var_dump(strlen($test) == 1);
17 $test = <<<TEST
21 var_dump(strlen($test) == 1);
23 $test = <<<TEST
27 var_dump(strlen($test) == 1);
29 $test = <<<TEST
33 var_dump(strlen($test) == 2);
H A Dheredoc_016.phpt6 $test = <<<"TEST"
9 var_dump(strlen($test) == 0);
11 $test = <<<"TEST"
15 var_dump(strlen($test) == 1);
17 $test = <<<"TEST"
21 var_dump(strlen($test) == 1);
23 $test = <<<"TEST"
27 var_dump(strlen($test) == 1);
29 $test = <<<"TEST"
33 var_dump(strlen($test) == 2);
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();
23 test\ns1\Foo
24 test\ns1\Foo
25 test\ns1\Foo
26 test\ns1\Foo
27 test\ns1\Foo
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);
/PHP-7.4/ext/standard/tests/strings/
H A Ducwords_variation4.phpt29 "\"testing\",ucwords,\"test\"",
30 "\"t\"\"t\",test, t",
31 "\'t \'t\',test",
48 "t@@#$% %test ^test &test *test +test -test",
49 "!test ~test `test` =test= @test@test.com",
50 "/test/r\test\\ucwords\t\y\y\\u\3 \yy\ /uu/",
81 string(24) ""testing",ucwords,"test""
83 string(14) ""t""t",test, T"
85 string(14) "\'t \'t\',test"
118 string(42) "T@@#$% %test ^test &test *test +test -test"
[all …]
H A Dbug70720.phpt5 var_dump(strip_tags('<?php $dom->test(); ?> this is a test'));
6 var_dump(strip_tags('<?php $xml->test(); ?> this is a test'));
7 var_dump(strip_tags('<?xml $xml->test(); ?> this is a test'));
10 var_dump(strip_tags("<span class=sf-dump-> this is a test</span>"));
13 string(15) " this is a test"
14 string(15) " this is a test"
15 string(15) " this is a test"
16 string(15) " this is a test"
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-7.4/ext/openssl/tests/
H A Dopenssl_decrypt_gcm.phpt16 foreach ($tests as $idx => $test) {
18 $pt = openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
19 $test['iv'], $test['tag'], $test['aad']);
20 var_dump($test['pt'] === $pt);
24 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
25 NULL, $test['tag'], $test['aad']));
27 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
28 $test['iv'], $test['tag']));
30 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
31 $test['iv'], str_repeat('x', 16), $test['aad']));
H A Dopenssl_decrypt_ccm.phpt17 foreach ($tests as $idx => $test) {
19 $pt = openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
20 $test['iv'], $test['tag'], $test['aad']);
21 var_dump($test['pt'] === $pt);
26 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
27 NULL, $test['tag'], $test['aad']));
29 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
30 $test['iv'], $test['tag']));
32 var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
33 $test['iv'], str_repeat('x', 10), $test['aad']));
/PHP-7.4/ext/session/tests/
H A Dsession_basic5.phpt38 <a href="/">test</a>
39 <a href="/path">test</a>
40 <a href="/path/">test</a>
42 <a href="../">test</a>
43 <a href="../path">test</a>
44 <a href="../path/">test</a>
47 <a href="/#bar">test</a>
50 <a href="../#bar">test</a>
54 <a href="/?foo">test</a>
58 <a href="../?foo">test</a>
[all …]
/PHP-7.4/ext/gettext/tests/
H A Ddcngettext.phpt13 var_dump(dcngettext("test","test","test",1,1));
14 var_dump(dcngettext("test","test","test",0,0));
15 var_dump(dcngettext("test","test","test",-1,-1));
25 string(4) "test"
26 string(4) "test"
27 string(4) "test"
/PHP-7.4/ext/standard/tests/general_functions/
H A D001.phpt8 echo("sprintf string truncate test: ");
15 echo("sprintf padding and align test: ");
23 echo("sprintf octal and hex test: ");
32 $test = sprintf("%b", 3457925);
33 if ($test == "1101001100001110000101") {
41 if ($test == "003333.33") {
57 sprintf string truncate test: passed
58 sprintf padding and align test: passed
59 sprintf octal and hex test: passed
60 sprintf octal binary test: passed
[all …]
H A Dparse_ini_string_002.phpt10 test =
14 test==
19 test=test=
24 test= \"new
31 test=TEST_CONST
37 test=hello
43 test=hello
69 test=test2
70 test=test3
71 test=test4
[all …]
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();
41 TestClass::test()
42 TestClass::test()
43 TestClass::test()
44 TestClass::test()
45 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");
/PHP-7.4/tests/lang/
H A Dbug24640.phpt8 function test($v)
17 test(1.7e+300);
18 test(1.7e-300);
19 test(1.7e+79);
20 test(1.7e-79);
21 test(1.7e+80);
22 test(1.7e-80);
23 test(1.7e+81);
24 test(1.7e-81);
25 test(1.7e+319);
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Dbug39576.phpt14 $test = new Test ();
15 $test->name = 'test';
16 $test->_columns['name'] = new stdClass;
18 function test ($value, $column, &$columns) {}
21 get_object_vars ($test),
22 'test',
23 $test->_columns
26 var_dump($test);
29 get_object_vars ($test),
30 $test->_primary
[all …]
/PHP-7.4/tests/classes/
H A Dclone_003.phpt17 public $p1 = 'test:1';
18 public $p3 = 'test:3';
19 public $p4 = 'test:4';
26 $obj = new test;
37 test Object
39 [p1] => test:1
40 [p3] => test:3
42 [p5] => test:5
47 test Object
49 [p1] => test:1
[all …]
/PHP-7.4/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-7.4/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 …]
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug38004.phpt32 $strA = 'test &amp; test';
33 $strB = 'test & test';
39 test &amp; test
40 test & test
41 test &amp; test
42 test & test
/PHP-7.4/ext/standard/tests/streams/
H A Dbug40459.phpt58 stream_wrapper_register('test', 'testwrapper', STREAM_IS_URL);
61 fopen('test://test', 'r');
65 stat('test://test');
69 opendir('test://test');
73 rmdir('test://test');
77 mkdir('test://test');
81 rename('test://test', 'test://test2');
85 unlink('test://test');
89 touch('test://test', time());

Completed in 58 milliseconds

12345678910>>...165