Home
last modified time | relevance | path

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

12345678910>>...211

/PHP-8.2/tests/lang/
H A Dbug73172.inc3 function test($a, $x, $y){
6 test('test', 9223372036854775808, 'test');
H A Dbug27439.phpt12 class test {
57 $test = new test();
58 $test->case1();
59 $test->case2();
60 $test->case3();
61 $test->case4();
62 $test->case5();
63 $test->case6();
69 Warning: Undefined property: test::$foobar in %s on line %d
/PHP-8.2/Zend/tests/readonly_props/
H A Dmagic_get_set.phpt32 $test = new Test;
35 var_dump(isset($test->prop));
37 var_dump($test->prop);
42 $test->prop = 1;
47 unset($test->prop);
52 $test->unsetProp();
54 var_dump(isset($test->prop));
55 var_dump($test->prop);
56 $test->prop = 2;
58 unset($test->prop);
/PHP-8.2/ext/zip/tests/
H A Dbug80833.phpt14 $create_zip->addFromString("test.txt", "This is a test string.");
15 $create_zip->setEncryptionName("test.txt", ZipArchive::EM_AES_256, "first_password");
16 $create_zip->addFromString("test2.txt", "This is another test string.");
27 var_dump(file_get_contents("zip://" . __DIR__ . "/80833.zip#test.txt", false, $c));
33 $file_stream = $extract_zip->getStream("test.txt");
43 $file_stream = $extract_zip->getStream("test.txt");
53 string(22) "This is a test string."
54 string(22) "This is a test string."
55 string(28) "This is another test string."
/PHP-8.2/ext/opcache/tests/opt/
H A Dnullsafe_002.phpt16 function test(?Test $test) {
17 var_dump($test?->prop);
32 test:
37 ; #0.CV0($test) NOVAL [undef]
43 0000 #1.CV0($test) [null, object (instanceof Test)] = RECV 1
45 0002 #2.T1 [null] = JMP_NULL #1.CV0($test) [null, object (instanceof Test)] BB2
53 …#3.CV0($test) [object (instanceof Test)] = Pi<BB0>(#1.CV0($test) [null, object (instanceof Test)] …
54 0003 #4.T1 [long] = FETCH_OBJ_R #3.CV0($test) [object (instanceof Test)] string("prop")
/PHP-8.2/ext/standard/tests/file/
H A Dpathinfo_variaton.phpt19 "../foo/test.link",
265 string(4) "test"
267 string(4) "test"
270 string(4) "test"
272 string(4) "test"
321 string(4) "test"
323 string(4) "test"
326 string(4) "test"
328 string(4) "test"
343 string(4) "test"
[all …]
H A Dinclude_streams.phpt106 die("test wrapper registration failed");
109 echo file_get_contents("test://GLOBALS/data1");
110 include("test://GLOBALS/data1");
111 include_once("test://GLOBALS/data2");
112 include_once("test://GLOBALS/data2");
127 test://GLOBALS/data1
128 test://GLOBALS/data2
130 test://GLOBALS/data3
131 test://GLOBALS/data4
133 test://GLOBALS/data5
[all …]
H A Dpathinfo_basic1-win32.phpt149 string(7) "c:\test"
155 string(7) "c:\test"
162 string(7) "c:\test"
168 string(7) "c:\test"
227 string(7) "c:\test"
240 string(7) "c:\test"
253 string(8) "c://test"
266 string(7) "c:\test"
279 string(7) "c:\test"
294 string(7) "c:\test"
[all …]
/PHP-8.2/ext/opcache/tests/
H A Dbug77691.phpt14 function test() {
16 dump($array[] = 'test');
20 test();
24 string(4) "test"
27 string(4) "test"
/PHP-8.2/tests/security/
H A Dopen_basedir_tempnam.phpt11 var_dump(tempnam("../bad", "test"));
12 var_dump(tempnam("..", "test"));
13 var_dump(tempnam("../", "test"));
14 var_dump(tempnam("/", "test"));
16 var_dump(tempnam("./../.", "test"));
17 var_dump(tempnam("", "test"));
19 //absolute test
20 $file = tempnam($initdir."/test/ok", "test");
24 //relative test
25 $file = tempnam(".", "test");
[all …]
/PHP-8.2/ext/pdo_mysql/tests/
H A Dbug_61207.phpt17 $db->query('DROP TABLE IF EXISTS test');
18 $db->query('create table `test`( `id` int )');
20 $handle1 = $db->prepare('insert into test(id) values(1);
21 select * from test where id = ?;
22 update test set id = 2 where id = ?;');
36 $handle2 = $db->prepare('select * from test where id = ?;
52 $handle3 = $db->prepare('update test set id = 2 where id = ?;
53 select * from test where id = ?;');
68 $handle4 = $db->prepare('insert into test(id) values(3);
70 select * from test where id = ?;');
[all …]
/PHP-8.2/Zend/tests/
H A Dbug74340.phpt20 $test = new Test;
21 $test->test;
25 __get test
27 Warning: Undefined property: Test::$test in %s on line %d
30 Warning: Undefined property: Test::$test in %s on line %d
H A Dheredoc_003.phpt2 simple variable replacement test (heredoc)
9 This is heredoc test #$a.
14 This is heredoc test #$b.
22 This is heredoc test #1.
23 This is heredoc test #2.
H A Dheredoc_004.phpt2 braces variable replacement test (heredoc)
9 This is heredoc test #{$a}.
14 This is heredoc test #{$b}.
22 This is heredoc test #1.
23 This is heredoc test #2.
H A Dnowdoc_003.phpt2 simple variable replacement test (nowdoc)
9 This is nowdoc test #$a.
14 This is nowdoc test #$b.
22 This is nowdoc test #$a.
23 This is nowdoc test #$b.
H A Dnowdoc_004.phpt2 braces variable replacement test (nowdoc)
9 This is nowdoc test #{$a}.
14 This is nowdoc test #{$b}.
22 This is nowdoc test #{$a}.
23 This is nowdoc test #{$b}.
/PHP-8.2/ext/simplexml/tests/
H A Dbug39760.phpt9 <test>
14 </test>';
15 $test = simplexml_load_string($xml);
17 var_dump($test->level1->level2a);
19 $test2 = clone $test;
22 $test3 = clone $test->level1->level2a;
/PHP-8.2/ext/standard/tests/strings/
H A Dstrrev_variation2.phpt47 't@@#$% %test ^test &test *test +test -test',
48 '!test ~test `test` =test= @test@test.com',
49 '/test/r\test\strrev\t\u /uu/',
H A Dstripos.phpt2 stripos() function test
5 var_dump(stripos("test string", "TEST"));
6 var_dump(stripos("test string", "strIng"));
7 var_dump(stripos("test string", "stRin"));
8 var_dump(stripos("test string", "t S"));
9 var_dump(stripos("test string", "G"));
11 var_dump(stripos("tEst", "test"));
12 var_dump(stripos("teSt", "test"));
/PHP-8.2/sapi/cgi/tests/
H A D006.phpt14 $filename = __DIR__."/006.test.php";
19 $test = "var";
21 class test {
25 echo test::$var;
38 class test
58 string(%d) "No syntax errors detected in %s006.test.php
63 <b>Parse error</b>: %s expecting %s{%s in <b>%s006.test.php</b> on line <b>5</b><br />
64 Errors parsing %s006.test.php
/PHP-8.2/ext/phar/tests/tar/
H A D033.phpt17 $phar->addEmptyDir('test');
26 echo "test dir\n";
27 var_dump($phar['test']->isReadable());
28 $phar['test']->chmod(0000);
29 var_dump($phar['test']->isReadable());
30 $phar['test']->chmod(0666);
31 var_dump($phar['test']->isReadable());
45 test dir
/PHP-8.2/ext/reflection/tests/
H A Dbug46064_2.phpt11 $x->test = 2000;
15 var_dump($p->getProperty('test'));
25 class test extends bar {
38 new test;
44 string(4) "test"
52 string(4) "test"
65 string(4) "test"
72 string(4) "test"
/PHP-8.2/ext/standard/tests/class_object/
H A Dbug71442.phpt9 public static function test() {
19 public static function test() {
21 forward_static_call(array('A', 'test'), 'more', 'args');
22 forward_static_call( 'test', 'other', 'args');
26 B::test('foo');
28 function test() {
/PHP-8.2/Zend/tests/traits/
H A Derror_010.phpt7 public function test() { return 3; }
10 public function test() { return 2; }
14 use foo, c { c::test insteadof foo; }
15 use foo, c { c::test insteadof foo; }
19 var_dump($x->test());
23 Fatal error: Failed to evaluate a trait precedence (test). Method of trait foo was defined to be ex…
/PHP-8.2/sapi/cli/tests/
H A D010.phpt15 $filename = __DIR__."/010.test.php";
16 $filename_txt = __DIR__."/010.test.txt";
27 test
37 @unlink(__DIR__."/010.test.php");
38 @unlink(__DIR__."/010.test.txt");
42 string(10) "test

Completed in 44 milliseconds

12345678910>>...211