Home
last modified time | relevance | path

Searched refs:test (Results 101 – 125 of 5133) sorted by relevance

12345678910>>...206

/PHP-8.2/tests/classes/
H A Dprivate_members.phpt14 $this->test();
18 function test()
39 function test()
48 $t->test();
57 base::test
63 derived::test
70 base::test
76 base::test
82 derived::test
89 base::test
[all …]
/PHP-8.2/ext/pdo_pgsql/tests/
H A Dcopy_from.phpt139 string(13) "test insert 0"
141 string(13) "test insert 0"
153 string(13) "test insert 1"
155 string(13) "test insert 1"
167 string(13) "test insert 2"
169 string(13) "test insert 2"
183 string(13) "test insert 0"
185 string(13) "test insert 0"
197 string(13) "test insert 1"
199 string(13) "test insert 1"
[all …]
H A Dcopy_to.phpt87 string(19) "0 test insert 0 \N
90 string(19) "1 test insert 1 \N
93 string(19) "2 test insert 2 \N
99 string(21) "0;test insert 0;NULL
102 string(21) "1;test insert 1;NULL
124 0 test insert 0 \N
125 1 test insert 1 \N
126 2 test insert 2 \N
129 0;test insert 0;NULL
130 1;test insert 1;NULL
[all …]
/PHP-8.2/ext/standard/tests/strings/
H A Dbug23894_64bit.phpt5 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
10 $test = sprintf("%04d", $a);
11 var_dump($test, bin2hex($test));
12 $test = sprintf("% 13u", $a);
13 var_dump($test, bin2hex($test));
H A Dbug23894_32bit.phpt5 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
10 $test = sprintf("%04d", $a);
11 var_dump($test, bin2hex($test));
12 $test = sprintf("% 13u", $a);
13 var_dump($test, bin2hex($test));
/PHP-8.2/ext/phar/tests/cache_list/files/
H A Dwrite3.phar3 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test"));
4 rmdir("phar://" . __FILE__ . "/test");
6 var_dump(file_exists("phar://" . __FILE__ . "/test"), is_dir("phar://" . __FILE__ . "/test"));
9 i������������� ���s:2:"hi";���test.txt������H���zzo��� ���s:2:"hi";���test/�������H�������…
/PHP-8.2/Zend/tests/
H A Dbug63462.phpt37 $test = new Test();
39 $test->nonExisting;
40 $test->publicProperty;
41 $test->protectedProperty;
42 $test->privateProperty;
43 isset($test->nonExisting);
44 isset($test->publicProperty);
45 isset($test->protectedProperty);
46 isset($test->privateProperty);
47 $test->nonExisting = 'value';
[all …]
H A Dbug73916.phpt8 $test[] =& $a;
9 $test[] =& $b;
10 test($test);
11 function test() {
16 #0 %s(%d): test(Array)
H A Dgh14009_005.phpt7 private function test($s) {
15 $this->test(__METHOD__);
18 $this->test(__METHOD__);
25 $this->test(__METHOD__);
35 A::foo -> A::T::test
36 A::bar -> A::T::test
37 B::foo -> B::T::test
38 A::bar -> A::T::test
H A Dcall_user_func_008.phpt6 function test(&$ref1, &$ref2) {
13 var_dump(call_user_func('test', $i, $j));
16 var_dump(call_user_func_array('test', [$i, $j]));
20 var_dump(call_user_func('test', $i, $j));
23 var_dump(call_user_func_array('test', [$i, $j]));
28 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
30 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
35 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
37 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
42 Warning: test(): Argument #1 ($ref1) must be passed by reference, value given in %s on line %d
[all …]
/PHP-8.2/Zend/tests/arg_unpack/
H A Dbasic.phpt6 function test(...$args) {
26 test(...[]);
27 test(...[1, 2, 3]);
28 test(...$array);
29 test(...getArray([1, 2, 3]));
30 test(...arrayGen([]));
31 test(...arrayGen([1, 2, 3]));
33 test(1, ...[2, 3], ...[4, 5]);
34 test(1, ...getArray([2, 3]), ...arrayGen([4, 5]));
/PHP-8.2/ext/spl/tests/
H A Dgh11338.phpt6 function test($path) {
13 test('/dir/anotherdir/basedir//');
14 test('/dir/anotherdir/basedir/');
15 test('/dir/anotherdir/basedir');
16 test('/dir/anotherdir//basedir');
17 test('///');
18 test('//');
19 test('/');
20 test('');
/PHP-8.2/ext/standard/tests/file/windows_links/
H A Dreadlink_compat.phpt8 die('skip windows only test');
27 chdir($tmpDir . '\\test');
37 $target = $tmpDir . '\\test\\directory';
44 $target = $tmpDir . '\\test\\directory';
74 rmdir($tmpDir . '\\test\\directory');
75 rmdir($tmpDir . '\\test');
81 string(%d) "%s\mnt\test\directory"
82 string(%d) "%s\mnt\test\directory"
83 string(%d) "%s\mnt\test\directory"
84 string(%d) "%s\mnt\test\directory\a.php"
[all …]
H A Dbug48746_1.phpt8 die('skip windows only test');
22 $dirname = __DIR__ . "\\mnt\\test\\directory";
24 chdir(__DIR__ . "\\mnt\\test");
34 require "$fullpath\\mnt\\test\\directory\\b.php";
36 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php";
40 unlink("$fullpath\\mnt\\test\\directory\\b.php");
41 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php");
44 rmdir(__DIR__ . "\\mnt\\test\\directory");
45 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
46 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
[all …]
/PHP-8.2/ext/standard/tests/general_functions/
H A Dsettype_typed_property.phpt10 $test = new Test;
11 $test->x = 42;
12 settype($test->x, 'string');
13 // Same as $test->x = (string) $test->x.
15 var_dump($test->x);
18 settype($test->x, 'array');
22 var_dump($test->x);
H A Dvar_export_basic5.phpt19 "array(\"test\" => \"is_array\")" => array("test" => "is_array"),
23 "array(\"string\", \"test\")" => array("string", "test"),
24 "array('string', 'test')" => array('string', 'test')
193 'test' => 'is_array',
196 'test' => 'is_array',
245 1 => 'test',
249 1 => 'test',
253 1 => 'test',
260 1 => 'test',
264 1 => 'test',
[all …]
/PHP-8.2/ext/filter/tests/
H A Dbug50158.phpt8 $email_address = "test=mail@example.com";
11 $email_address = "test-mail@example.com";
14 $email_address = "test+mail@example.com";
17 $email_address = "test?mail@example.com";
22 string(21) "test=mail@example.com"
23 string(21) "test-mail@example.com"
24 string(21) "test+mail@example.com"
25 string(21) "test?mail@example.com"
H A Dfilter_callback_require_scalar.phpt7 function test($var) {
13 var_dump(test('test'));
14 var_dump(test(['test']));
17 string(4) "test"
/PHP-8.2/ext/mysqli/tests/
H A D001.phpt13 $test = "";
15 /*** test mysqli_connect localhost:port ***/
17 $test .= ($link) ? "1" : "0";
20 /*** test mysqli_real_connect ***/
22 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) )
26 /*** test mysqli_real_connect with db ***/
28 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
32 /*** test mysqli_real_connect with port ***/
34 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
49 /*** test mysqli_real_connect compressed ***/
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dundef_to_typed_ref.phpt15 $test = new Test;
16 $test->x = "";
17 $r =& $test->x;
22 $test = new Test;
23 $test->x = "";
24 $r =& $test->x;
29 $test = new Test;
30 $test->x = "";
37 $test->x = "";
44 $test->x = "";
[all …]
/PHP-8.2/ext/json/tests/
H A Dbug61978.phpt7 public $test;
10 $this->test = '123';
16 public $test;
18 $this->test = '123';
22 'test' => $this->test,
39 string(24) "{"test":"123","me":null}"
41 string(24) "{"test":"123","me":null}"
/PHP-8.2/ext/dom/tests/
H A Dgh12616_2.phpt11 <container xmlns:test="urn:test" xmlns:symfony="http://symfony.com/schema/dic/services">
13 <test:service id="hello" />
21 $xpath->registerNamespace('test', 'urn:test');
25 $result = $xpath->query('//container/services/test:service[@id="hello"]');
31 <container xmlns:test="urn:test">
33 <test:service id="hello"/>
H A Dbug80332_2.phpt13 function test($list, $key) {
23 test($list, 0);
24 test($list, false);
25 test($list, true);
26 test($list, null);
27 test($list, '0');
28 test($list, '0.5');
29 test($list, '1');
31 test($list, 'attr2');
32 test($list, 'hi');
[all …]
/PHP-8.2/ext/dba/
H A Dconfig.m418 if test -n "$THIS_PREFIX" && test "$THIS_PREFIX" != "/usr"; then
26 if test -z "$THIS_INCLUDE"; then
29 if test -z "$THIS_LIBS"; then
44 if test -n "$2"; then
50 if test -n "$3"; then
53 if test "$THIS_RESULT" = "yes" || test "$THIS_RESULT" = "builtin"; then
326 if test -z "$THIS_LIBS"; then
330 if test "$1" = "4"; then
472 if test "$HAVE_DB3" = "1" || test "$HAVE_DB4" = "1"; then
518 if test "$HAVE_DB4" = "1" || test "$HAVE_DB3" = "1" || test "$HAVE_DB2" = "1"; then
[all …]
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated.phpt109 prepex(9, $db, 'DELETE FROM test');
115 prepex(12, $db, 'DELETE FROM test');
129 array(':placeholder' => 'test'));
140 prepex(20, $db, 'DELETE FROM test');
171 prepex(34, $db, 'DELETE FROM test');
211 prepex(49, $db, 'DELETE FROM test');
217 prepex(52, $db, 'DELETE FROM test');
245 prepex(61, $db, 'DELETE FROM test');
277 prepex(74, $db, 'DELETE FROM test');
308 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
[all …]

Completed in 57 milliseconds

12345678910>>...206