Home
last modified time | relevance | path

Searched refs:test (Results 501 – 525 of 5221) sorted by relevance

1...<<21222324252627282930>>...209

/php-src/Zend/tests/
H A Dobjects_004.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
22 Fatal error: Declaration of test3::foo(&$arg) must be compatible with test::foo($arg) in %s on line…
H A Dstrict_002.phpt8 class test {
12 $t = new test;
22 Notice: Accessing static property test::$foo as non static in %s on line %d
23 object(test)#%d (1) {
H A Dobjects_003.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
22 Fatal error: Declaration of test3::foo($arg, $arg2) must be compatible with test::foo($arg) in %s o…
H A Dobjects_008.phpt6 class test {
10 class test2 extends test {
14 class test3 extends test {
20 Fatal error: Declaration of test3::foo(Test3 $arg) must be compatible with test::foo(Test $arg) in …
H A Dbug62814.phpt7 private function test() { }
11 protected function test() { }
15 private function test() { }
20 Fatal error: Access level to C::test() must be protected (as in class B) or weaker in %s on line 12
/php-src/Zend/tests/use_function/
H A Dno_global_fallback2.phpt7 function test() {
12 use function bar\test;
13 test();
18 Fatal error: Uncaught Error: Call to undefined function bar\test() in %s:%d
/php-src/tests/security/
H A Dopen_basedir_link.phpt17 $target = ($initdir."/test/ok/ok.txt");
23 $link = ($initdir."/test/ok/link.txt");
30 $target = ($initdir."/test/ok/ok.txt");
49 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the a…
52 Warning: link(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allow…
55 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/link.txt) is not within the a…
58 Warning: link(): open_basedir restriction in effect. File(%s/test/link.txt) is not within the allow…
61 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
64 Warning: link(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed pa…
67 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
[all …]
/php-src/sapi/cgi/tests/
H A D011.phpt15 function test($script) {
25 test('<?php ?>');
26 test('<?php header_remove(); ?>');
28 test('<?php
31 test('<?php
36 test('<?php
40 test('<?php
44 test('<?php
48 test('<?php
51 test('<?php
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_decode_numericentity_large_ints.phpt6 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
17 function test($desc, $str, $expected, $convmap, $encoding) {
40 test("Starting entity immediately after too-big decimal entity", "&#7001492542&#65;", "&#7001492542…
46 test("Regression test (entity which decodes to 0xFFFFFFFF)", "&#xe;", "?", [0xFFFFFF86, 0xFFFFFFFF,…
50 test("Regression test (truncation of successive & with JIS encoding)", "&&&", "&&&", [0x20FF37FF, 0…
53 test("Regression test (convmap entries are now treated as unsigned)", "&#7,", "?,", [0x22FFFF11, 0x…
60 Regression test (entity which decodes to 0xFFFFFFFF): string(5) "&#xe;" => string(1) "?" (Good)
61 Regression test (truncation of successive & with JIS encoding): string(3) "&&&" => string(3) "&&&" …
62 Regression test (convmap entries are now treated as unsigned): string(4) "&#7," => string(2) "?," (…
/php-src/ext/sqlite3/tests/
H A Dbug68760.phpt13 $db->exec("CREATE TABLE test (col1 string)");
14 $db->exec("INSERT INTO test VALUES ('a1')");
15 $db->exec("INSERT INTO test VALUES ('a10')");
16 $db->exec("INSERT INTO test VALUES ('a2')");
20 $naturalSort = $db->query("SELECT col1 FROM test ORDER BY col1 COLLATE NATURAL_CMP");
/php-src/ext/dba/tests/
H A Ddba_db4_creation_matrix.phpt59 This is a test insert
61 This is a test insert
63 This is a test insert
65 This is a test insert
67 This is a test insert
69 This is a test insert
71 This is a test insert
73 This is a test insert
92 This is a test insert
94 This is a test insert
[all …]
/php-src/ext/xmlreader/tests/
H A Dbug70309.phpt8 <?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?>
9 <?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?>
21 This is a paragraph in the test chapter. It is unremarkable in
22 every regard. This is a paragraph in the test chapter. It is
23 unremarkable in every regard. This is a paragraph in the test
33 This is a paragraph in the test chapter. It is unremarkable in
34 every regard. This is a paragraph in the test chapter. It is
35 unremarkable in every regard. This is a paragraph in the test
/php-src/ext/dom/tests/
H A DDOMParentNode_empty_argument.phpt12 echo "--- DOMElement test ---\n";
30 echo "--- DOMDocumentFragment test ---\n";
40 echo "--- DOMDocument test ---\n";
48 echo "--- DOMCharacterData test ---\n";
67 --- DOMElement test ---
73 --- DOMDocumentFragment test ---
75 --- DOMDocument test ---
78 --- DOMCharacterData test ---
/php-src/ext/opcache/tests/
H A Diterable_type_optimization.phpt8 function test(object $arg): iterable {
11 test(new stdClass);
15 Fatal error: Uncaught TypeError: test(): Return value must be of type Traversable|array, stdClass r…
17 #0 %s(%d): test(Object(stdClass))
/php-src/ext/phar/tests/cache_list/files/
H A Dwrite23.phar.inc9 var_dump(isset($p["test.txt"]), isset($p["newname"]));
10 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname");
11 var_dump(isset($p["test.txt"]), isset($p["newname"]));
15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
/php-src/Zend/tests/return_types/
H A Dinheritance008.phpt10 public static function test() : A {
16 public static function test() : A {
21 var_dump(Bar::test());
22 var_dump(Foo::test());
/php-src/Zend/tests/traits/
H A Dtrait_constant_001.phpt7 public static function test() {
28 echo Direct::test()."\n";
29 echo IndirectInheritance::test()."\n";
30 echo Indirect::test()."\n";
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_081.phpt10 $test = new Test;
11 $x =& $test->x;
12 $test2 = clone $test;
13 unset($test);
/php-src/Zend/tests/variadic/
H A Dillegal_variadic_override_type.phpt7 public function test(int $a, int $b) {}
11 public function test(string ...$args) {}
16 Fatal error: Declaration of B::test(string ...$args) must be compatible with A::test(int $a, int $b…
/php-src/ext/simplexml/tests/
H A Dbug39662.phpt9 <test>
11 </test>';
27 <test>
29 </test>
/php-src/ext/standard/tests/file/
H A Dftruncate.phpt8 file_put_contents($filename, "some test data inside");
20 file_put_contents($filename, "some test data inside");
32 file_put_contents($filename, "some test data inside");
48 string(21) "some test data inside"
52 string(10) "some test "
56 string(21) "some test data inside"
/php-src/ext/standard/tests/streams/
H A Dbug60455_03.phpt12 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
13 if ($path == "test://eofafter2nd")
29 stream_wrapper_register("test", "TestStream");
31 $f = fopen("test://nonempty2nd", "r");
36 $f = fopen("test://", "r");
41 $f = fopen("test://eofafter2nd", "r");
/php-src/ext/mysqli/tests/
H A Dtable.inc10 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) {
11 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
16 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
20 if (!mysqli_query($link, 'CREATE TABLE test(id INT DEFAULT 0, label CHAR(1), PRIMARY KEY(id)) ENGIN…
21 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd')…
/php-src/ext/soap/tests/soap12/
H A DT27.phpt12 <test:echoStringArray xmlns:test="http://example.org/ts-tests"
15 <test:array enc:itemType="xs:string" enc:arraySize="1">
19 </test:array>
20 </test:echoStringArray>
24 include "soap12-test.inc";
/php-src/ext/filter/tests/
H A D029.phpt9 function test($var) {
13 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test")));
14 …var("~!@#$%^&*()_QWERTYUIOPASDFGHJKLZXCVBNM<>>?\"}{:", FILTER_CALLBACK, array("options"=>"test")));
15 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test")));
37 static function test ($var) {
42 var_dump(filter_var("dAtA", FILTER_CALLBACK, array("options"=>array("test_class", "test"))));
43 …RTYUIOPASDFGHJKLZXCVBNM<>>?\"}{:", FILTER_CALLBACK, array("options"=>array("test_class","test"))));
44 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>array("test_class","test"))));
65 throw new Exception("test");
98 string(4) "test"

Completed in 30 milliseconds

1...<<21222324252627282930>>...209