Home
last modified time | relevance | path

Searched refs:n (Results 401 – 425 of 9184) sorted by relevance

1...<<11121314151617181920>>...368

/PHP-5.6/ext/standard/tests/strings/
H A Daddcslashes_002.phpt8 $string = "goodyear12345NULL\0truefalse\a\v\f\b\n\r\t";
10 echo "\n*** Testing addcslashes() with ASCII code between 0 and 31 ***\n";
14 echo "\n*** Testing addcslashes() with objects ***\n";
24 echo "Done\n";
29 string(44) "goodyear12345NULL\000truefalse\a\v\f\b\n\r\t"
H A Dbug54721.phpt5 echo crypt("", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
6 echo crypt("b", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
7 echo crypt("bu", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
8 echo crypt("bug", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
9 echo crypt("pass", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
10 echo crypt("buged", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
11 echo crypt("aaaaaaaaaaaaaaaaaaaaaaaaa ", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n";
H A Dsubstr_count_variation_001.phpt6 echo "\n*** Testing possible variations ***\n";
7 echo "-- 3rd or 4th arg as string --\n";
14 echo "\n-- 3rd or 4th arg as NULL --\n";
21 echo "\n-- overlapped substrings --\n";
25 echo "\n-- complex strings containing other than 7-bit chars --\n";
31 echo "\n-- heredoc string --\n";
45 echo "\n-- heredoc null string --\n";
52 echo "Done\n";
H A Dhtmlentities-utf-3.phpt28 for ($n = 1; $n < strlen($seq); $n++) {
29 if (ord($seq[$n]) < $l[$n][0] || ord($seq[$n]) > $l[$n][1]) {
49 echo "Discordance for ".bin2hex($s),"\n";
58 echo "Discordance for ".bin2hex($s),"\n";
61 echo "Discordance for ".bin2hex($s),"\n";
69 echo "Discordance for ".bin2hex($s),"\n";
72 echo "Discordance for ".bin2hex($s),"\n";
75 echo "Discordance for ".bin2hex($s),"\n";
78 echo "Discordance for ".bin2hex($s),"\n";
81 echo "Done.\n";
/PHP-5.6/Zend/tests/
H A Dlsb_005.phpt8 echo get_class(new static()) . "\n";
10 echo get_class(new static()) . "\n";
12 echo get_class(new static()) . "\n";
14 echo get_class(new static()) . "\n";
20 echo get_class(new static()) . "\n";
22 echo get_class(new static()) . "\n";
28 echo get_class(new static()) . "\n";
/PHP-5.6/ext/mysql/tests/
H A Dmysql_list_fields.phpt18 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
26 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
29 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
32 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
39 printf("Field Offset %d\n", $field_offset);
40 printf("mysql_field_flags(): %s\n", mysql_field_flags($res, $field_offset));
41 printf("mysql_field_len(): %s\n", mysql_field_len($res, $field_offset));
42 printf("mysql_field_name(): %s\n", mysql_field_name($res, $field_offset));
43 printf("mysql_field_type(): %s\n", mysql_field_type($res, $field_offset));
59 printf("[c002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysql_info.phpt13 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
16 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
23 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[005] [%d] %s\n", mysql_errno($link), mysql_error($link));
29 printf("[006] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
38 printf("[009] [%d] %s\n", mysql_errno($link), mysql_error($link));
44 printf("[011] [%d] %s\n", mysql_errno($link), mysql_error($link));
50 printf("[013] Expecting Unicode!\n");
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Dtouch_basic-win32.phpt19 echo "*** Testing touch() : basic functionality ***\n";
23 echo "\n--- testing touch creates a file ---\n";
33 echo "\n --- testing touch doesn't alter file contents ---\n";
43 echo "\n\n --- testing touch alters the correct file metadata ---\n";
55 echo "stat data differs at $type[$i]\n";
65 echo "\n --- testing touch using all parameters ---\n";
69 echo "ctime=".$init_meta['ctime']."\n";
70 echo "mtime=".$init_meta['mtime']."\n";
71 echo "atime=".$init_meta['atime']."\n";
H A Dtouch_basic.phpt20 echo "*** Testing touch() : basic functionality ***\n";
24 echo "\n--- testing touch creates a file ---\n";
34 echo "\n --- testing touch doesn't alter file contents ---\n";
44 echo "\n\n --- testing touch alters the correct file metadata ---\n";
56 echo "stat data differs at $type[$i]\n";
66 echo "\n --- testing touch using all parameters ---\n";
70 echo "ctime=".$init_meta['ctime']."\n";
71 echo "mtime=".$init_meta['mtime']."\n";
72 echo "atime=".$init_meta['atime']."\n";
H A Dfgets_socket_variation1.phpt27 echo "Write some data:\n";
28 fwrite($socket, "line1\nline2\nline3\n");
31 echo "\n\nRead a line from the client:\n";
34 echo "\n\nRead another line from the client:\n";
37 echo "\n\nClose the server side socket and read the remaining data from the client\n";
44 echo "done\n";
H A Dstream_rfc2397_007.phpt14 echo "===$stream===\n";
20 echo "===S:4,S===\n";
24 echo "===GETC===\n";
28 echo "===GETC===\n";
33 echo "===REWIND===\n";
37 echo "===GETC===\n";
41 echo "===S:3,S===\n";
45 echo "===S:1,C===\n";
49 echo "===S:-2,C===\n";
57 echo "===S:3,S===\n";
[all …]
/PHP-5.6/ext/mysqli/tests/
H A Dbug68077.phpt31 printf("[002] [%d] %s\n", $link->errno, $link->error);
35 printf("[003] [%d] %s\n", $link->errno, $link->error);
38 if (FALSE == file_put_contents(__DIR__ . '/bug53503.data', "1\n2\n3\n"))
39 printf("[004] Failed to create CVS file\n");
42 printf("[005] [%d] %s\n", $link->errno, $link->error);
45 printf("[006] [%d] %s\n", $link->errno, $link->error);
46 echo "bug\n";
48 echo "done\n";
53 printf("[006] [%d] %s\n", $link->errno, $link->error);
54 echo "done\n";
[all …]
H A Dmysqli_last_insert_id.phpt20 printf("[003] [%d] %s\n", $link->errno, $link->error);
36 printf("[002] [%d] %s\n", $link->errno, $link->error);
41 printf("API: %d, SQL: %d\n", $api_id, $sql_id);
50 printf("[006] [%d] %s\n", $link->errno, $link->error);
81 printf("[012] [%d] %s\n", $link->errno, $link->error);
96 printf("[016] [%d] %s\n", $link->errno, $link->error);
109 printf("[019] [%d] %s\n", $link->errno, $link->error);
117 printf("[021] [%d] %s\n", $link->errno, $link->error);
125 printf("[023] [%d] %s\n", $link->errno, $link->error);
134 printf("[024] [%d] %s\n", $link->errno, $link->error);
[all …]
H A Dmysqli_stmt_bind_param_references.phpt18 printf("[%03d + 1] %s failed, [%d] %s\n",
23 printf("[%03d + 2] fetch for %s failed, [%d] %s\n",
30 printf("[%03d + 3] Expecting %s/%s got %s/%s\n",
38 printf("[%03d + 4] Expecting %s/%s got %s/%s\n",
48 printf("[%03d + 5] %s failed, [%d] %s\n",
65 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
76 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
87 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
106 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
/PHP-5.6/ext/dom/tests/
H A DDOMDocument_encoding_basic.phpt18 echo "Error while parsing the document\n";
22 echo "Empty Encoding Read: {$dom->encoding}\n";
25 echo "Adding invalid encoding: $ret\n";
28 echo "Adding ISO-8859-1 encoding: $ret\n";
29 echo "ISO-8859-1 Encoding Read: {$dom->encoding}\n";
32 echo "Adding UTF-8 encoding: $ret\n";
33 echo "UTF-8 Encoding Read: {$dom->encoding}\n";
36 echo "Adding UTF-16 encoding: $ret\n";
37 echo "UTF-16 Encoding Read: {$dom->encoding}\n";
/PHP-5.6/ext/mbstring/tests/
H A Dmb_strpos_basic.phpt19 echo "*** Testing mb_strpos() : basic functionality***\n";
27 echo "\n-- ASCII string 1 --\n";
30 echo "\n-- ASCII string 2 --\n";
33 echo "\n-- Multibyte string 1 --\n";
37 echo "\n-- Multibyte string 2 --\n";
H A Dmb_strrpos_basic.phpt19 echo "*** Testing mb_strrpos() : basic ***\n";
27 echo "\n-- ASCII string 1 --\n";
30 echo "\n-- ASCII string 2 --\n";
33 echo "\n-- Multibyte string 1 --\n";
37 echo "\n-- Multibyte string 2 --\n";
H A Dmb_substr_basic.phpt21 echo "*** Testing mb_substr() : basic functionality ***\n";
27 echo "\n-- ASCII string 1 --\n";
30 echo "\n-- ASCII string 2 --\n";
33 echo "\n-- Multibyte string 1 --\n";
37 echo "\n-- Multibyte string 2 --\n";
/PHP-5.6/sapi/cli/tests/
H A D012.phpt10 var_dump(`"$php" -n -F some.php -F some.php`);
11 var_dump(`"$php" -n -F some.php -R some.php`);
12 var_dump(`"$php" -n -R some.php -F some.php`);
13 var_dump(`"$php" -n -R some.php -R some.php`);
14 var_dump(`"$php" -n -f some.php -f some.php`);
15 var_dump(`"$php" -n -B '' -B ''`);
16 var_dump(`"$php" -n -E '' -E ''`);
17 var_dump(`"$php" -n -r '' -r ''`);
19 echo "Done\n";
/PHP-5.6/ext/xmlreader/tests/
H A D003.phpt25 echo $reader->value . "\n";
28 echo "1st attr (num) failed\n";
34 echo $reader->value . "\n";
37 echo "2nd attr (idx) failed\n";
43 echo $reader->value . "\n";
46 echo "attr num failed\n";
51 echo $reader->value . "\n";
54 echo "attr idx failed\n";
60 echo $reader->value . "\n";
63 echo "attr 0 failed\n";
[all …]
/PHP-5.6/tests/func/
H A D004.phpt6 echo "Before function declaration...\n";
10 echo "----\nIn function, printing the string \"$something\" $times times\n";
12 echo "$i) $something\n";
14 echo "Done with function...\n-----\n";
19 echo "This is some other function, to ensure more than just one function works fine...\n";
23 echo "After function declaration...\n";
25 echo "Calling function for the first time...\n";
27 echo "Returned from function call...\n";
29 echo "Calling the function for the second time...\n";
31 echo "Returned from function call...\n";
/PHP-5.6/ext/reflection/tests/
H A DReflectionProperty_basic1.phpt9 echo "Reflecting on property $class::$property\n\n";
10 echo "__toString():\n";
12 echo "export():\n";
14 echo "export():\n";
16 echo "getName():\n";
18 echo "isPublic():\n";
20 echo "isPrivate():\n";
22 echo "isProtected():\n";
24 echo "isStatic():\n";
28 echo "getValue():\n";
[all …]
/PHP-5.6/ext/mcrypt/tests/
H A Dmcrypt_enc_get_mode_name.phpt8 echo mcrypt_enc_get_modes_name($td) . "\n";
10 echo mcrypt_enc_get_modes_name($td) . "\n";
12 echo mcrypt_enc_get_modes_name($td) . "\n";
14 echo mcrypt_enc_get_modes_name($td) . "\n";
16 echo mcrypt_enc_get_modes_name($td) . "\n";
18 echo mcrypt_enc_get_modes_name($td) . "\n";
/PHP-5.6/ext/standard/tests/
H A Dbug64370_var1.phpt5 echo "\$_SERVER['REQUEST_TIME']: {$_SERVER['REQUEST_TIME']}\n";
6 echo "\$_SERVER['REQUEST_TIME_FLOAT']: {$_SERVER['REQUEST_TIME_FLOAT']}\n";
7 echo "time(): " . time() . "\n";
8 echo "microtime(true): " . microtime(true) . "\n";
10 echo "created in $d ms\n";
11 echo ((bool)($d >= 0)) . "\n";
/PHP-5.6/ext/pcre/pcrelib/testdata/
H A Dtestinput82519 more \n than \n million
4196 a\r\n\r\n\r\nb
4197 a\n\r\n\rb
4198 a\n\n\r\nb
4200 a\n\n\n\rb
4243 abc\r\n\r\n
4246 abc\r\n\r\n
4249 abc\r\n\r\n
4351 a\r\n\r\n\r\n\r\nb
4358 a\n\n\nb
[all …]

Completed in 34 milliseconds

1...<<11121314151617181920>>...368