Home
last modified time | relevance | path

Searched refs:test (Results 176 – 200 of 5252) sorted by relevance

12345678910>>...211

/PHP-7.3/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-7.3/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…
H A Dstatic_003.phpt9 public static function test() {
10 return static::$test;
16 protected static $test = "Test A";
20 protected static $test = "Test B";
23 echo B::test();
/PHP-7.3/sapi/cli/tests/
H A D010.phpt15 $filename = __DIR__."/010.test.php";
16 $filename_txt = __DIR__."/010.test.txt";
27 test
38 @unlink(__DIR__."/010.test.php");
39 @unlink(__DIR__."/010.test.txt");
43 string(10) "test
H A D011.phpt10 $filename = dirname(__FILE__)."/011.test.php";
15 $test = "var";
17 class test {
21 echo test::$var;
34 class test
50 string(%d) "No syntax errors detected in %s011.test.php
56 Errors parsing %s011.test.php
/PHP-7.3/ext/simplexml/tests/
H A D030.phpt9 xmlns:s="urn::test" xmlns:t="urn::test-t">
10 <child1>test</child1>
11 <child1>test 2</child1>
26 $atts = $sxe->attributes("urn::test");
35 test
36 test 2
/PHP-7.3/ext/soap/tests/soap12/
H A DT32.phpt11 <test:requiredHeader xmlns:test="http://example.org/ts-tests"
12 env:mustUnderstand="true">foo</test:requiredHeader>
15 <test:echoHeader xmlns:test="http://example.org/ts-tests">
16 </test:echoHeader>
20 include "soap12-test.inc";
/PHP-7.3/ext/sqlite3/tests/
H A Dbug72668.phpt9 throw new \Exception("test exception\n");
16 $result = $db->query('SELECT my_udf_md5("test")');
23 $result = $db->querySingle('SELECT my_udf_md5("test")');
29 $statement = $db->prepare('SELECT my_udf_md5("test")');
39 Exception: test exception
40 Exception: test exception
41 Exception: test exception
/PHP-7.3/ext/standard/tests/streams/
H A Dbug61371-win.phpt6 die('skip windows only test');
10 function test($doFclose) {
13 for($test=1;$test<=3;$test++) {
32 test(true);
33 test(false);
H A Dbug61371.phpt6 die('skip non windows test');
10 function test($doFclose) {
13 for($test=1;$test<=3;$test++) {
32 test(true);
33 test(false);
/PHP-7.3/Zend/tests/
H A Dclosure_013.phpt16 $test = new Foo;
17 $test->__invoke();
18 $test = foo();
19 $test->__invoke();
20 $test = foo()->__invoke();
H A Dcompare_002.phpt8 class test {
25 new test,
82 string(0) "" !== object(test)#3 (0) {}
99 int(1) !== object(test)#3 (0) {}
116 float(2.5) !== object(test)#3 (0) {}
133 int(0) !== object(test)#3 (0) {}
201 NULL !== object(test)#3 (0) {}
275 object(test)#3 (0) {} !== int(1)
277 object(test)#3 (0) {} !== int(0)
281 object(test)#3 (0) {} !== NULL
[all …]
H A Dobjects_017.phpt7 private $test = 1;
10 function test() {
14 test()->test = 2;
18 Fatal error: Uncaught Error: Cannot access private property foo::$test in %s:%d
H A Dmethod_static_var.phpt11 public static function test() {
17 foo::test();
19 foo::test();
22 …* function_add_ref() makes a clone of static variables for inherited functions, so $i in Bar::test
24 Bar::test();
25 Bar::test();
H A Dns_042.phpt5 namespace test\ns1;
9 use test\ns1 as ns2;
10 use test as ns3;
13 echo \test\ns1\FOO;
14 echo \test\ns1\FOO;
H A Dheredoc_012.phpt5 $test = "foo";
7 test: $test
12 test: foo
/PHP-7.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native.phpt120 prepex(5, $db, 'DROP TABLE IF EXISTS test');
126 prepex(9, $db, 'DELETE FROM test');
158 prepex(20, $db, 'DROP TABLE IF EXISTS test');
185 $db->exec('DELETE FROM test');
202 prepex(33, $db, 'DROP TABLE IF EXISTS test');
208 prepex(37, $db, 'DELETE FROM test');
233 prepex(44, $db, 'DELETE FROM test');
270 prepex(51, $db, 'DROP TABLE IF EXISTS test');
286 prepex(57, $db, 'DELETE FROM test');
326 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
[all …]
/PHP-7.3/sapi/cgi/tests/
H A D003.phpt20 $filename = dirname(__FILE__).'/003.test.php';
23 /* some test script */
25 class test { /* {{{ */
26 public $var = "test"; //test var
42 var_dump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n …
54 class test { public $var = "test"; private $pri; function foo() { } } ?>
65 <?php class test { function foo() {} } ?>
/PHP-7.3/tests/func/
H A D010.phpt5 if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
15 function test($a,$b)
37 test($v42, \'42\');
38 test(\'4000\', $v4000);
40 test($v0, \'0\'); // first
41 test($v'.dechex($limit-1).", '".dechex($limit-1).'\'); // last
42 test($v'.dechex($boundary).", '".dechex($boundary).'\'); //boundary
43 test($v'.dechex($boundary+1).", '".dechex($boundary+1).'\'); //boundary+1
44 test($v'.dechex($boundary-1).", '".dechex($boundary-1).'\'); //boundary-1
/PHP-7.3/ext/standard/tests/file/
H A Dreadlink_realpath_basic1.phpt20 mkdir("$file_path/readlink_realpath_basic1/home/test/", 0777, true);
29 symlink("$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp",
39 "$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp",
40 "$file_path/readlink_realpath_basic1//home/test//../test/./readlink_realpath_basic1_link.tmp",
64 unlink("$name_prefix/home/test/readlink_realpath_basic1.tmp");
67 unlink("$name_prefix/home/test/readlink_realpath_basic1_link.tmp");
69 rmdir("$name_prefix/home/test/");
81 string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
82 string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
85 string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
[all …]
/PHP-7.3/ext/odbc/
H A Dconfig.m44 if ! test -f "$ODBC_INCDIR/$1"; then
82 if test ! -f $ODBC_LIBS; then
105 if test -z "$ODBC_TYPE"; then
134 if test -z "$ODBC_TYPE"; then
154 if test -z "$ODBC_TYPE"; then
181 if test -z "$ODBC_TYPE"; then
220 if test -z "$ODBC_TYPE"; then
245 if test -z "$ODBC_TYPE"; then
286 if test -z "$ODBC_TYPE"; then
315 if test -z "$ODBC_TYPE"; then
[all …]
/PHP-7.3/ext/ldap/tests/
H A Dldap_controls.phpt27 ldap_modify($link, "o=test,$base", ['description' => 'desc'],
29 $result = ldap_read($link, "o=test,$base", "objectClass=*", array('description')),
31 ldap_modify($link, "o=test,$base", ['description' => 'desc2'],
33 $result = ldap_read($link, "o=test,$base", "objectClass=*", array('description')),
39 ldap_compare($link, "o=test,$base", "o", "test"),
40 …ldap_compare($link, "o=test,$base", "o", "test", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => T…
41 …ldap_compare($link, "o=test,$base", "o", "test", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => T…
80 string(4) "test"
87 string(%d) "o=test,%s"
110 string(%d) "o=test,%s"
[all …]
/PHP-7.3/ext/reflection/tests/
H A DReflectionExtension_export_basic.phpt10 $test = ob_get_clean();
11 var_dump(empty($test));
12 unset($test);
15 $test = ob_get_clean();
16 var_dump(empty($test));
/PHP-7.3/ext/gd/
H A Dconfig.m410 if test -z "$PHP_WEBP_DIR"; then
15 if test -z "$PHP_JPEG_DIR"; then
20 if test -z "$PHP_PNG_DIR"; then
25 if test -z "$PHP_ZLIB_DIR"; then
44 if test "$PHP_ZLIB_DIR" != "no" && test "$PHP_ZLIB_DIR" != "yes"; then
234 if test "$PHP_GD" != "no"; then
249 if test "$PHP_GD" = "yes"; then
286 if test -n "$GD_XPM_DIR"; then
304 if test "$PHP_GD" != "no"; then
321 if test -z "$GD_INCLUDE"; then
[all …]
/PHP-7.3/ext/session/tests/
H A Dsession_write_close_variation4.phpt20 var_dump(session_id("test"));
43 string(4) "test"
45 string(4) "test"
47 string(4) "test"
49 string(4) "test"
51 string(4) "test"
53 string(4) "test"

Completed in 79 milliseconds

12345678910>>...211