Home
last modified time | relevance | path

Searched refs:n (Results 176 – 200 of 8625) sorted by relevance

12345678910>>...345

/PHP-5.4/ext/oci8/tests/
H A Dnum.phpt21 echo "Test 1\n";
27 echo "Test 2\n";
44 echo "Test 3\n";
54 echo "Test 4\n";
67 echo "Test 5a\n";
77 echo "Test 5b\n";
88 echo "Test 5c\n";
109 echo "Test 6\n";
130 echo "Test 7\n";
146 echo "Test 8a\n";
[all …]
/PHP-5.4/ext/phar/tests/
H A Dphar_oo_008.phpt19 echo "===1===\n";
22 echo "$k=>$v\n";
27 echo "===2===\n";
30 echo "$k=>$v\n";
44 echo "===3===\n";
50 echo "===4===\n";
58 echo "===5===\n";
61 echo "$k=>" . join('|',$d) . "\n";
68 echo __METHOD__ . "\n";
76 echo "===6===\n";
[all …]
H A Dphar_stub.phpt24 echo fread($fp, strlen($file)) . "\n";
32 echo fread($fp, strlen($file)) . "\n";
47 echo fread($fp, strlen($file)) . "\n";
53 echo file_get_contents($fname2) . "\n";
62 echo fread($fp, strlen($file)) . "\n";
71 echo fread($fp, strlen($file)) . "\n";
86 <?php echo "first stub\n"; __HALT_COMPILER(); ?>
87 <?php echo "second stub\n"; __HALT_COMPILER(); ?>
88 <?php echo "third stub\n"; __HALT_COMPILER(); ?>
90 <?php echo "third stub\n"; __HALT_COMPILER(); ?>
[all …]
/PHP-5.4/ext/pgsql/tests/
H A D02connection.phpt16 echo "pg_connection_status() error\n";
20 echo "pg_connection_reset() error\n";
24 echo "pg_connection_busy() error\n";
29 echo "pg_transaction_status() error\n";
34 echo "pg_host() error\n";
38 echo "pg_dbname() error\n";
42 echo "pg_port() error\n";
46 echo "pg_tty() error\n";
50 echo "pg_options() error\n";
H A D27large_object_oid.phpt7 if (version_compare("8.3", $v["client"]) > 0) die("skip - requires pg client >= 8.3\n");
8 if (version_compare("8.3", $v["server"]) > 0) die("skip - requires pg server >= 8.3\n");
17 echo "create LO from int\n";
20 if (!$oid) echo ("pg_lo_create() error\n");
21 if ($oid != 21000) echo ("pg_lo_create() wrong id\n");
25 echo "create LO from string\n";
28 if (!$oid) echo ("pg_lo_create() error\n");
29 if ($oid != 21001) echo ("pg_lo_create() wrong id\n");
33 echo "create LO using default connection\n";
36 if (!$oid) echo ("pg_lo_create() error\n");
[all …]
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_stmt_execute_stored_proc.phpt21 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
47 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
50 printf("[018] Results seem wrong, got %s, [%d] %s\n",
65 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
88 printf("[026] Results seem wrong, got %s, [%d] %s\n",
102 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
125 printf("[034] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
128 printf("[035] Results seem wrong, got %s, [%d] %s\n",
140 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
170 printf("[045] Results seem wrong, got %s, [%d] %s\n",
[all …]
H A Dmysqli_stmt_get_result.phpt25 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
58 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
75 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
81 printf("[017] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
114 printf("[032] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
128 printf("[036] Expecting array, got %s/%s, [%d] %s\n",
133 printf("[037] Expecting boolean/false, got %s/%s, [%d] %s\n",
137 printf("[039] [%d] [%s]\n", mysqli_errno($link), mysqli_error($link));
[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);
75 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_class_mysqli_result_interface.phpt22 printf("Parent class:\n");
25 printf("\nMethods:\n");
58 printf("Dumping list of missing methods.\n");
66 printf("ok\n");
69 printf("\nClass variables:\n");
73 printf("%s\n", $var);
75 printf("\nObject variables:\n");
78 printf("%s\n", $var);
80 printf("\nMagic, magic properties:\n");
105 printf("mysqli_result->type = '%s'/%s\n",
[all …]
/PHP-5.4/tests/classes/
H A Dinheritance.phpt12 echo "This is class foo\n";
13 echo "a = ".$this->a."\n";
14 echo "b = ".$this->b."\n";
24 echo "This is class bar\n";
25 echo "a = ".$this->a."\n";
26 echo "b = ".$this->b."\n";
27 echo "c = ".$this->c."\n";
36 echo $foo1->mul()."\n";
38 echo "-----\n";
45 echo $bar1->mul()."\n";
/PHP-5.4/ext/standard/tests/array/
H A Drange.phpt10 echo "\n-- Integers as Low and High --\n";
13 echo "\n-- An array of elements from high to low --\n";
16 echo "\n-- Numeric Strings as Low and High --\n";
19 echo "\n-- An array of elements from high to low --\n";
22 echo "\n-- Chars as Low and High --\n";
25 echo "\n-- An array of elements from high to low --\n";
28 echo "\n-- Low and High are equal --\n";
32 echo "\n-- floats as Low and High --\n";
39 echo "\n-- Passing step with Low and High --\n";
46 echo "\n-- Testing basic string with step --\n";
[all …]
H A Darray_product_variation3.phpt11 echo "*** Testing array_product() : variations - negative numbers***\n";
13 echo "\n-- Testing array_product() function with one negative number --\n";
16 echo "\n-- Testing array_product() function with two negative numbers --\n";
19 echo "\n-- Testing array_product() function with three negative numbers --\n";
22 echo "\n-- Testing array_product() function with negative floats --\n";
25 echo "\n-- Testing array_product() function with negative floats --\n";
/PHP-5.4/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c9 int n; member
14 size_t n; member
21 map->n = 0; in mappings_init()
37 if (n == 0) in mappings_grow()
38 n = 1; in mappings_grow()
39 else if (n <= map->n) in mappings_grow()
48 map->nalloc = n; in mappings_grow()
68 size_t n = map->n - i, a = sizeof(*map->entries) * n; in mappings_add() local
73 ++map->n; in mappings_add()
86 size_t n = (map->n - i - 1), a = sizeof(*map->entries) * n; in mappings_add() local
[all …]
/PHP-5.4/ext/simplexml/tests/
H A D011.phpt21 echo "===BAR===\n";
23 echo "\n";
25 echo "===BAZ===\n";
27 echo "\n";
29 echo "===BAZ0===\n";
31 echo "\n";
33 echo "===BAZ1===\n";
35 echo "\n";
/PHP-5.4/ext/standard/tests/strings/
H A Dltrim.phpt10 echo "\n *** Output for Error Conditions ***\n";
12 echo "\n *** Output for zero argument ***\n";
15 echo "\n *** Output for more than valid number of arguments (Valid are 1 or 2 arguments) ***\n";
24 echo "\n *** Using heredoc string ***\n";
29 echo "\n *** Output for Normal Behaviour ***\n";
35 …var_dump ( ltrim("\t\n\r\0\x0B ltrim test", "\t\n\r\0\x0B") ); /* with multiple escape sequences …
41 echo "\n *** Output for scalar argument) ***\n";
44 echo "\n *** Output for NULL argument) ***\n";
47 echo "\nDone\n";
H A Dmd5raw.phpt5 echo bin2hex(md5("", TRUE))."\n";
6 echo bin2hex(md5("a", TRUE))."\n";
7 echo bin2hex(md5("abc", TRUE))."\n";
8 echo bin2hex(md5("message digest", TRUE))."\n";
9 echo bin2hex(md5("abcdefghijklmnopqrstuvwxyz", TRUE))."\n";
10 echo bin2hex(md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", TRUE))."\n";
11 …d5("12345678901234567890123456789012345678901234567890123456789012345678901234567890", TRUE))."\n";
/PHP-5.4/ext/reflection/tests/
H A DReflectionMethod_constructor_basic.phpt8 echo "In " . __METHOD__ . "\n";
12 echo "New-style constructor:\n";
18 echo "\nInherited new-style constructor\n";
24 echo "In " . __METHOD__ . "\n";
27 echo "\nOld-style constructor:\n";
39 echo "In " . __METHOD__ . "\n";
42 echo "\nNot a constructor:\n";
54 echo "In " . __METHOD__ . "\n";
61 echo "\nOld-style constructor:\n";
65 echo "\nRedefined constructor:\n";
[all …]
/PHP-5.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_qprint.c74 int s, n; in mbfl_filt_conv_qprintenc() local
115 n = (s >> 4) & 0xf; in mbfl_filt_conv_qprintenc()
116 if (n < 10) { in mbfl_filt_conv_qprintenc()
117 n += 48; /* '0' */ in mbfl_filt_conv_qprintenc()
119 n += 55; /* 'A' - 10 */ in mbfl_filt_conv_qprintenc()
122 n = s & 0xf; in mbfl_filt_conv_qprintenc()
123 if (n < 10) { in mbfl_filt_conv_qprintenc()
124 n += 48; in mbfl_filt_conv_qprintenc()
126 n += 55; in mbfl_filt_conv_qprintenc()
158 int n, m; in mbfl_filt_conv_qprintdec() local
[all …]
/PHP-5.4/ext/hash/tests/
H A Dmd2.phpt7 echo hash('md2', '') . "\n";
8 echo hash('md2', 'a') . "\n";
9 echo hash('md2', 'abc') . "\n";
10 echo hash('md2', 'message digest') . "\n";
11 echo hash('md2', 'abcdefghijklmnopqrstuvwxyz') . "\n";
12 echo hash('md2', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
13 …('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
H A Dmd4.phpt8 echo hash('md4', '') . "\n";
9 echo hash('md4', 'a') . "\n";
10 echo hash('md4', 'abc') . "\n";
11 echo hash('md4', 'message digest') . "\n";
12 echo hash('md4', 'abcdefghijklmnopqrstuvwxyz') . "\n";
13 echo hash('md4', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
14 …('md4', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
/PHP-5.4/ext/fileinfo/libmagic/
H A Dcompress.c157 size_t rn = n; in swrite()
166 n -= rv; in swrite()
170 while (n > 0); in swrite()
220 n = t; in sread()
221 rn = n; in sread()
235 n -= rv; in sread()
381 return n; in uncompressgzipped()
449 if (swrite(fdin[1], old, n) != (ssize_t)n) { in uncompressbuf()
483 n = 0; in uncompressbuf()
487 n = r; in uncompressbuf()
[all …]
/PHP-5.4/ext/standard/tests/math/
H A Dcos_basic.phpt29 echo "Pass\n";
32 echo "Fail\n";
38 echo "Pass\n";
41 echo "Fail\n";
47 echo "Pass\n";
50 echo "Fail\n";
56 echo "Pass\n";
59 echo "Fail\n";
65 echo "Pass\n";
68 echo "Fail\n";
[all …]
H A Dsin_basic.phpt29 echo "Pass\n";
32 echo "Fail\n";
38 echo "Pass\n";
41 echo "Fail\n";
47 echo "Pass\n";
50 echo "Fail\n";
56 echo "Pass\n";
59 echo "Fail\n";
65 echo "Pass\n";
68 echo "Fail\n";
[all …]
/PHP-5.4/tests/lang/
H A DpassByReference_010.phpt11 echo "\n\n---> Pass constant assignment by reference:\n";
15 echo "\n\n---> Pass variable assignment by reference:\n";
21 echo "\n\n---> Pass reference assignment by reference:\n";
27 echo "\n\n---> Pass concat assignment by reference:\n";
/PHP-5.4/ext/standard/tests/class_object/
H A Dget_object_vars_basic_001.phpt15 echo __METHOD__ . "\n";
27 echo __METHOD__ . "\n";
36 echo __METHOD__ . "\n";
43 echo __METHOD__ . "\n";
50 echo "\n---( Global scope: )---\n";
52 echo "\n---( Declaring class: )---\n";
54 echo "\n---( Subclass: )---\n";
56 echo "\n---( Superclass: )---\n";
58 echo "\n---( Unrelated class: )---\n";

Completed in 48 milliseconds

12345678910>>...345