Home
last modified time | relevance | path

Searched refs:test (Results 76 – 100 of 4756) sorted by relevance

12345678910>>...191

/PHP-7.4/ext/standard/tests/crypt/
H A Dbcrypt_invalid_cost.phpt5 var_dump(crypt("test", "$2a$4$1234567891234567891234567"));
6 var_dump(crypt("test", "$2a$00$1234567891234567891234567"));
7 var_dump(crypt("test", "$2a$01$1234567891234567891234567"));
8 var_dump(crypt("test", "$2a$02$1234567891234567891234567"));
9 var_dump(crypt("test", "$2a$03$1234567891234567891234567"));
10 var_dump(crypt("test", "$2a$32$1234567891234567891234567"));
11 var_dump(crypt("test", "$2a$40$1234567891234567891234567"));
/PHP-7.4/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt24 ["%s/resources/test.awk"]=>
26 ["%s/resources/test.bmp"]=>
28 ["%s/resources/test.gif"]=>
30 ["%s/resources/test.jpg"]=>
32 ["%s/test.json"]=>
34 ["%s/resources/test.mp3"]=>
36 ["%s/resources/test.pdf"]=>
38 ["%s/resources/test.png"]=>
40 ["%s/resources/test.ppt"]=>
42 ["%s/resources/test.tga"]=>
[all …]
/PHP-7.4/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-7.4/ext/standard/tests/file/
H A Ddirname_basic-win32.phpt29 'c:\test\afile',
30 'c:\\test\\afile',
31 'c://test//afile',
32 'c:\test\afile\\',
69 string(7) "c:\test"
70 string(7) "c:\test"
71 string(8) "c://test"
72 string(7) "c:\test"
83 string(15) " c:\test\adir"
84 string(12) "c:\test\adir"
[all …]
/PHP-7.4/ext/zend_test/
H A Dconfig.m41 PHP_ARG_ENABLE([zend-test],
2 [whether to enable zend-test extension],
3 [AS_HELP_STRING([--enable-zend-test],
4 [Enable zend-test extension])])
6 if test "$PHP_ZEND_TEST" != "no"; then
7 PHP_NEW_EXTENSION(zend_test, test.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
/PHP-7.4/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 Dparse_ini_file.phpt15 test =
20 test==
26 test=test=
32 test= \"new
47 test=hello
54 test=hello
85 test=test2
86 test=test3
87 test=test4
134 ["test"]=>
[all …]
/PHP-7.4/tests/classes/
H A Dprivate_members.phpt14 $this->test();
18 function test()
34 $this->test();
48 $t->test();
57 base::test
63 derived::test
70 base::test
76 base::test
82 derived::test
89 base::test
[all …]
/PHP-7.4/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-7.4/Zend/tests/
H A Dbug63462.phpt36 $test = new Test();
38 $test->nonExisting;
39 $test->publicProperty;
40 $test->protectedProperty;
41 $test->privateProperty;
42 isset($test->nonExisting);
43 isset($test->publicProperty);
44 isset($test->protectedProperty);
45 isset($test->privateProperty);
46 $test->nonExisting = 'value';
[all …]
H A Dbug73916.phpt8 $test[] =& $a;
9 $test[] =& $b;
10 test($test);
11 function test() {
16 #0 test(Array ([0] => Array ([0] => a),[1] => b Object ())) called at [%sbug73916.php:%d]
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: Parameter 1 to test() expected to be a reference, value given in %s on line %d
30 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
35 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
37 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
42 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
[all …]
H A Derror_reporting05.phpt8 class test {
17 $test = new test;
19 $test->abc = 123;
20 echo $test->bcd;
22 @$test->qwe = 123;
23 echo @$test->wer;
/PHP-7.4/ext/phar/tests/
H A Dbug79912.phpt13 $phar->addFromString("test.txt", "This is a test file.This is a test file.This is a test file.");
14 $file = $phar["test.txt"];
21 var_dump(file_get_contents(__DIR__ . "/bug79912/test.txt")); //the extracted file in the folder sho…
25 string(60) "This is a test file.This is a test file.This is a test file."
30 string(60) "This is a test file.This is a test file.This is a test file."
33 @unlink(__DIR__ . "/bug79912/test.txt");
/PHP-7.4/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"
/PHP-7.4/ext/standard/tests/strings/
H A Dbug23894.phpt6 $test = sprintf("%04d", $a);
7 var_dump($test, bin2hex($test));
8 $test = sprintf("% 13u", $a);
9 var_dump($test, bin2hex($test));
H A Dltrim.phpt30 var_dump ( ltrim(" \t\0 ltrim test") ); /* without second Argument */
32 var_dump ( ltrim(" ltrim test", NULL) ); /* with NULL as second Argument */
67 string(10) "ltrim test"
68 string(13) " ltrim test"
69 string(18) " ltrim test"
70 string(18) " ltrim test"
71 string(10) "ltrim test"
72 string(11) " ltrim test"
73 string(10) "ltrim test"
74 string(10) "ltrim test"
[all …]
H A Dstrtr_basic.phpt15 test strtr
19 var_dump( strtr("test strtr", "t", "T") );
20 var_dump( strtr('test strtr', 't', 'T') );
25 var_dump( strtr("test strtr", "test", "TEST") );
26 var_dump( strtr('test strtr', 'test', 'TEST') );
27 var_dump( strtr($heredoc_str, "test", "TEST") );
30 var_dump( strtr("test strtr", "test", "TESTz") );
31 var_dump( strtr('test strtr', 'testz', 'TEST') );
32 var_dump( strtr($heredoc_str, "test", "TESTz") );
35 var_dump( strtr("test strtr", $trans1_arr) );
[all …]
/PHP-7.4/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-7.4/ext/pdo_pgsql/tests/
H A Dcopy_from.phpt137 string(13) "test insert 0"
139 string(13) "test insert 0"
151 string(13) "test insert 1"
153 string(13) "test insert 1"
165 string(13) "test insert 2"
167 string(13) "test insert 2"
181 string(13) "test insert 0"
183 string(13) "test insert 0"
195 string(13) "test insert 1"
197 string(13) "test insert 1"
[all …]
H A Dcopy_to.phpt85 string(19) "0 test insert 0 \N
88 string(19) "1 test insert 1 \N
91 string(19) "2 test insert 2 \N
97 string(21) "0;test insert 0;NULL
100 string(21) "1;test insert 1;NULL
122 0 test insert 0 \N
123 1 test insert 1 \N
124 2 test insert 2 \N
127 0;test insert 0;NULL
128 1;test insert 1;NULL
[all …]
/PHP-7.4/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 …]
/PHP-7.4/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt9 public static function test() {
18 public static function test() {
20 forward_static_call(array('parent', 'test'));
28 public static function test() {
30 forward_static_call(array('B', 'test'));
34 A::test();
36 B::test();
38 C::test();
/PHP-7.4/ext/json/tests/
H A Dbug61978.phpt9 public $test;
12 $this->test = '123';
18 public $test;
20 $this->test = '123';
24 'test' => $this->test,
41 string(24) "{"test":"123","me":null}"
43 string(24) "{"test":"123","me":null}"
/PHP-7.4/ext/pdo_mysql/
H A Dconfig.m47 if test -z "$PHP_ZLIB_DIR"; then
16 if test "$PHP_PDO_MYSQL" != "no"; then
20 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
30 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
34 if test "$PHP_PDO_MYSQL" != "yes" && test "$PHP_PDO_MYSQL" != "mysqlnd"; then
35 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then
38 if test -d "$PHP_PDO_MYSQL" ; then
48 if test "$PHP_PDO_MYSQL" = "yes" || test "$PHP_PDO_MYSQL" = "mysqlnd"; then
58 if test "x$SED" = "x"; then
64 elif test -n "$PDO_MYSQL_DIR"; then
[all …]

Completed in 40 milliseconds

12345678910>>...191