Home
last modified time | relevance | path

Searched refs:n (Results 201 – 225 of 9705) sorted by relevance

12345678910>>...389

/PHP-8.1/sapi/cli/tests/
H A Dbug78323.phpt24 echo $lines[0], "\n",
25 $lines[1], "\n",
26 "Done: $exitCode\n\n";
36 echo $lines[0], "\n",
37 $lines[1], "\n",
38 "Done: $exitCode\n\n";
48 echo $lines[0], "\n",
49 $lines[1], "\n",
50 "Done: $exitCode\n\n";
60 echo $lines[0], "\n",
[all …]
/PHP-8.1/ext/shmop/tests/
H A D001.phpt14 die("failed\n");
16 echo "ok\n";
24 echo "failed\n";
26 echo "ok\n";
34 echo "failed\n";
36 echo "ok\n";
51 echo "failed\n";
53 echo "ok\n";
59 die("failed\n");
61 echo "ok\n";
[all …]
/PHP-8.1/ext/dom/tests/
H A Dgh8996.phpt8 echo "=== __sleep and __wakeup ===\n";
33 echo "Serialized:\n-----------\n$serialized\n-----------\nRestored:\n-----------\n{$unserialized->s…
35 echo "=== __serialize and __unserialize ===\n";
56 echo "Serialized:\n-----------\n$serialized\n-----------\nRestored:\n-----------\n{$unserialized->s…
58 echo "=== serialize and unserialize ===\n";
79 echo "Serialized:\n-----------\n$serialized\n-----------\nRestored:\n-----------\n{$unserialized->s…
/PHP-8.1/ext/sysvsem/tests/
H A Dnowait.phpt11 echo "P: parent process running.\n";
22 echo "P: got semaphore.\n";
38 echo "P: acquired semaphore.\n";
46 echo "P: acquired semaphore.\n";
53 echo "P: removing semaphore.\n";
72 echo "P: releasing semaphore.\n";
83 echo "C: removing semaphore.\n";
87 echo "C: child process running.\n";
90 echo "C: got semaphores.\n";
101 echo "C: releasing semaphore.\n";
[all …]
/PHP-8.1/ext/calendar/tests/
H A Djdtofrench.phpt7 echo jdtofrench(0). "\n";
8 echo jdtofrench(2375840). "\n";
9 echo jdtofrench(2375850). "\n";
10 echo jdtofrench(2375940). "\n";
11 echo jdtofrench(2376345). "\n";
12 echo jdtofrench(2385940). "\n";
H A Djdtogregorian.phpt7 echo jdtogregorian(0). "\n";
8 echo jdtogregorian(1). "\n";
9 echo jdtogregorian(2298874). "\n";
10 echo jdtogregorian(2299151). "\n";
11 echo jdtogregorian(2440588). "\n";
12 echo jdtogregorian(2816423). "\n";
H A Djdtojulian.phpt7 echo jdtojulian(0). "\n";
8 echo jdtojulian(1). "\n";
9 echo jdtojulian(2298874). "\n";
10 echo jdtojulian(2299151). "\n";
11 echo jdtojulian(2440588). "\n";
12 echo jdtojulian(2816423). "\n";
H A Djuliantojd.phpt7 echo juliantojd( 0, 0, 0). "\n";
8 echo juliantojd( 1, 1, 1582). "\n";
9 echo juliantojd(10, 5, 1582). "\n";
10 echo juliantojd( 1, 1, 1970). "\n";
11 echo juliantojd( 1, 1, 2999). "\n";
12 echo juliantojd( 1, 1, -4713). "\n";
/PHP-8.1/ext/standard/tests/math/
H A Dbase_convert_improvements.phpt5 echo base_convert('FF', 16, 10) . "\n";
6 echo base_convert('20', 8, 10) . "\n";
7 echo base_convert('0xFf', 16, 10) . "\n";
8 echo base_convert('0FF', 16, 10) . "\n";
9 echo base_convert(" 0xFF\t\n" , 16, 10) . "\n";
10 echo base_convert(" 0xFF\t\n" , 16, 10) . "\n";
11 echo base_convert("\r\nFF\t\n" , 16, 10) . "\n";
12 echo base_convert("0o7" , 8, 10) . "\n";
13 echo base_convert("0b1010" , 2, 10) . "\n";
23 echo base_convert("0 0" , 9, 10) . "\n";
/PHP-8.1/ext/date/tests/
H A DDatePeriod_IteratorAggregate.phpt8 echo "$i: ", $date->format('Y-m-d'), "\n";
11 echo "\n";
13 echo "$i: ", $date->format('Y-m-d'), "\n";
16 echo "\n";
21 echo "$i: ", $date->format('Y-m-d'), "\n";
24 echo "\n";
29 echo "$i: ", $date->format('Y-m-d'), "\n";
32 echo "\n";
41 echo "\n";
54 echo "\n";
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dstr_getcsv_001.phpt8 print "-----\n";
10 print "-----\n";
12 print "-----\n";
14 print "-----\n";
16 print "-----\n";
18 print "-----\n";
20 print "-----\n";
22 print "-----\n";
24 print "-----\n";
26 print "-----\n";
[all …]
H A Dsubstr_count_variation_001.phpt6 echo "\n*** Testing possible variations ***\n";
7 echo "-- 3rd or 4th arg as string --\n";
12 echo "\n-- overlapped substrings --\n";
16 echo "\n-- complex strings containing other than 7-bit chars --\n";
22 echo "\n-- heredoc string --\n";
36 echo "\n-- heredoc null string --\n";
43 echo "Done\n";
/PHP-8.1/ext/mbstring/
H A Dmb_gpc.c214 n = 0; in _php_mb_encoding_handler_ex()
222 n++; in _php_mb_encoding_handler_ex()
230 n++; in _php_mb_encoding_handler_ex()
233 len_list[n] = 0; in _php_mb_encoding_handler_ex()
235 n++; in _php_mb_encoding_handler_ex()
256 n = 0; in _php_mb_encoding_handler_ex()
263 n++; in _php_mb_encoding_handler_ex()
293 n = 0; in _php_mb_encoding_handler_ex()
294 while (n < num) { in _php_mb_encoding_handler_ex()
302 n++; in _php_mb_encoding_handler_ex()
[all …]
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_autocommit.phpt31 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
39 printf("[008] Cannot turn off autocommit\n");
42 printf("[009] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
49 printf("[011] Cannot turn on autocommit\n");
52 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
84 printf("[021] Cannot turn on autocommit\n");
87 printf("[022] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_autocommit_oo.phpt32 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
35 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
40 printf("[005] Cannot turn off autocommit\n");
46 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error);
50 printf("[008] Cannot turn on autocommit\n");
53 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
60 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
63 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
66 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error);
86 printf("[018] Cannot turn on autocommit\n");
[all …]
/PHP-8.1/ext/oci8/tests/
H A Dini_1.phpt25 echo "Test 1 - check initialization\n";
27 echo 'oci8.max_persistent = ' . ini_get('oci8.max_persistent') . "\n";
29 echo 'oci8.ping_interval = ' . ini_get('oci8.ping_interval') . "\n";
30 echo 'oci8.connection_class = ' . ini_get('oci8.connection_class') . "\n";
31 echo 'oci8.events = ' . ini_get('oci8.events') . "\n";
33 echo 'oci8.default_prefetch = ' . ini_get('oci8.default_prefetch') . "\n";
36 echo "Test 2 - check what can be changed at runtime\n";
40 echo 'oci8.max_persistent = ' . ini_get('oci8.max_persistent') . "\n";
44 echo 'oci8.ping_interval = ' . ini_get('oci8.ping_interval') . "\n";
46 echo 'oci8.connection_class = ' . ini_get('oci8.connection_class') . "\n";
[all …]
/PHP-8.1/ext/dba/tests/
H A Ddba009.phpt13 echo "database handler: $handler\n";
14 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) {
15 echo "Opened\n";
17 echo dba_fetch("a", $db)."\n";
19 echo "Closed\n";
21 echo "Error creating database\n";
23 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) {
24 echo "Opened\n";
26 echo dba_fetch("a", $db)."\n";
/PHP-8.1/ext/simplexml/tests/
H A D011.phpt19 echo "===BAR===\n";
21 echo "\n";
23 echo "===BAZ===\n";
25 echo "\n";
27 echo "===BAZ0===\n";
29 echo "\n";
31 echo "===BAZ1===\n";
33 echo "\n";
/PHP-8.1/tests/lang/
H A D021.phpt8 echo "i=$i\n";
12 echo "In branch 0\n";
15 echo "In branch 1\n";
18 echo "In branch 2\n";
21 echo "In branch 3\n";
24 echo "In branch 4\n";
27 echo "In default\n";
31 echo "hi\n";
/PHP-8.1/Zend/tests/try/
H A Dtry_finally_019.phpt6 public $n = 0;
7 function __construct($n) {
8 $this->n = $n;
11 echo "destruct" . $this->n . "\n";
26 echo "finally1\n";
31 echo "finally2\n";
/PHP-8.1/ext/gmp/tests/
H A Dcast.phpt8 $n = gmp_init(42);
9 echo $n, "\n";
10 var_dump((string) $n);
11 var_dump((int) $n);
12 var_dump((float) $n);
13 var_dump((bool) $n);
/PHP-8.1/ext/hash/tests/
H A Dmd2.phpt5 echo hash('md2', '') . "\n";
6 echo hash('md2', 'a') . "\n";
7 echo hash('md2', 'abc') . "\n";
8 echo hash('md2', 'message digest') . "\n";
9 echo hash('md2', 'abcdefghijklmnopqrstuvwxyz') . "\n";
10 echo hash('md2', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
11 …('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
/PHP-8.1/Zend/tests/
H A Dfalsetoarray.phpt17 print "[001]\n";
21 print "[002]\n";
26 echo "\nFunction\n";
28 print "[003]\n";
69 print "[014]\n";
73 print "[015]\n";
77 print "[016]\n";
81 print "[017]\n";
107 print "[021]\n";
110 print "[022]\n";
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dmb_convert_variables.phpt23 echo "== SCALAR TEST ==\n";
26 print("$encoding\n"); // SJIS
31 print("$encoding\n"); // JIS
36 print("$encoding\n"); // EUC-JP
41 print("$encoding\n"); // EUC-JP
49 print("$encoding\n"); // EUC-JP
56 echo "== ARRAY TEST ==\n";
60 print("$encoding\n"); // EUC-JP
66 print("$encoding\n"); // EUC-JP
72 echo "== OBJECT TEST ==\n";
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Darray_map_object2.phpt10 echo "*** Testing array_map() : with non-existent class and method ***\n";
15 public function square($n) {
16 return $n * $n;
18 public static function cube($n) {
19 return $n * $n * $n;
23 echo "-- with non-existent class --\n";
27 echo $e->getMessage(), "\n";
30 echo "-- with existent class and non-existent method --\n";
34 echo $e->getMessage(), "\n";

Completed in 83 milliseconds

12345678910>>...389