Home
last modified time | relevance | path

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

12345678910>>...147

/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_magic_set.phpt24 $test = new Test;
31 $test->foo = 42;
36 $test->foo = 42;
39 $test = new Test;
41 $test->foo = 42;
48 $test->foo = 42;
51 $test->foo = 42;
54 $test = clone $test;
55 $test->foo = 42;
57 $test->foo = 42;
[all …]
/php-src/ext/libxml/tests/
H A Dbug54440.phpt24 stream_wrapper_register("test", "TestWrapper")
27 $ctx1 = stream_context_create(array('test'=>array('test'=>'test 1')));
28 $ctx2 = stream_context_create(array('test'=>array('test'=>'test 2')));
31 @simplexml_load_file('test://sdfsdf');
34 @simplexml_load_file('test://sdfsdf');
39 [test] => Array
41 [test] => test 1
47 [test] => Array
49 [test] => test 2
/php-src/ext/standard/tests/strings/
H A Ducwords_variation4.phpt24 "\"testing\",ucwords,\"test\"",
25 "\"t\"\"t\",test, t",
26 "\'t \'t\',test",
43 "t@@#$% %test ^test &test *test +test -test",
44 "!test ~test `test` =test= @test@test.com",
45 "/test/r\test\\ucwords\t\y\y\\u\3 \yy\ /uu/",
76 string(24) ""testing",ucwords,"test""
78 string(14) ""t""t",test, T"
80 string(14) "\'t \'t\',test"
113 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"
/php-src/Zend/tests/
H A Dbug31683.phpt9 var_dump($test);
10 $test = 'bug';
14 var_dump($test);
16 $test = 'bug';
21 var_dump($test);
22 $test = 'bug';
26 var_dump($test);
27 $test = 'bug';
34 $test = 'bug';
40 $test = 'bug';
[all …]
H A Dtrampoline_closure_named_arguments.phpt15 $test = new Test;
20 $test->test(1, 2, a: 123);
21 $test->test(...)(1, 2);
22 $test->test(...)(1, 2, a: 123, b: $test);
23 $test->test(...)(a: 123, b: $test);
24 $test->test(...)();
25 $test->test(...)(...$array);
47 string(4) "test"
56 string(4) "test"
63 string(4) "test"
[all …]
H A Dns_012.phpt12 use test as ns3;
16 \test\ns1\foo();
17 \test\ns1\bar();
28 test\ns1\foo
29 test\ns1\bar
30 test\ns1\foo
31 test\ns1\bar
32 test\ns1\foo
33 test\ns1\bar
34 test\ns1\foo
[all …]
H A Dgh13142.phpt6 $a = "test\0test";
8 $a = "\0test";
10 $a = "test\0";
13 $GLOBALS["test\0test"];
14 $GLOBALS["\0test"];
15 $GLOBALS["test\0"];
23 Warning: Undefined variable $test%0test in %s on line %d
25 Warning: Undefined variable $%0test in %s on line %d
27 Warning: Undefined variable $test%0 in %s on line %d
29 Warning: Undefined global variable $test%0test in %s on line %d
[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 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 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 …]
/php-src/ext/session/tests/
H A Dsession_basic5.phpt34 <a href="/">test</a>
35 <a href="/path">test</a>
36 <a href="/path/">test</a>
38 <a href="../">test</a>
39 <a href="../path">test</a>
40 <a href="../path/">test</a>
43 <a href="/#bar">test</a>
46 <a href="../#bar">test</a>
50 <a href="/?foo">test</a>
54 <a href="../?foo">test</a>
[all …]
/php-src/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 '', $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 '', $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-src/ext/standard/tests/general_functions/
H A Dparse_ini_string_002.phpt7 test =
11 test==
16 test=test=
21 test= \"new
28 test=TEST_CONST
34 test=hello
40 test=hello
66 test=test2
67 test=test3
68 test=test4
[all …]
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 …]
/php-src/Zend/tests/match/
H A D040.phpt6 function test($value) {
22 test(1);
23 test('1');
24 test(2);
25 test('2');
26 test(3);
27 test('3');
28 test(4);
29 test('4');
30 test(5);
[all …]
/php-src/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-src/Zend/tests/readonly_props/
H A Dcache_slot.phpt27 $test = new Test;
28 $test->setProp("a");
29 var_dump($test->prop);
35 var_dump($test->prop);
38 $test = new Test;
52 $test = new Test;
53 $test->initProp3();
54 $test->replaceProp3();
61 $test = new Test;
79 $test = new Test;
[all …]
H A Dreadonly_containing_object.phpt15 $test->prop->foo = 1;
16 $test->prop->foo += 1;
17 $test->prop->foo++;
19 $test->prop += 1;
24 $test->prop++;
29 --$test->prop;
33 var_dump($test->prop);
36 $ref =& $test->prop;
38 var_dump($test->prop);
41 $test->prop[] = [];
[all …]
/php-src/ext/gettext/tests/
H A Ddcngettext.phpt13 var_dump(dcngettext("test","test","test",1,1));
14 var_dump(dcngettext("test","test","test",0,1));
15 var_dump(dcngettext("test","test","test",-1,-1));
33 string(4) "test"
34 string(4) "test"
35 string(4) "test"
/php-src/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-src/tests/classes/
H A Dclone_003.phpt16 class test extends base {
17 public $p1 = 'test:1';
18 public $p3 = 'test:3';
26 $obj = new test;
37 test Object
39 [p1] => test:1
41 [p3] => test:3
43 [p5] => test:5
47 test Object
49 [p1] => test:1
[all …]
/php-src/Zend/tests/type_declarations/union_types/
H A Dmultiple_classes.phpt18 $test = new Test;
20 $test->prop = 42;
21 var_dump($test->prop);
24 $test->prop = "42";
25 var_dump($test->prop);
44 $test->prop = new X;
45 var_dump($test->prop);
52 $test->prop = new Z;
53 var_dump($test->prop);
60 $test->prop = new Y;
[all …]

Completed in 54 milliseconds

12345678910>>...147