Home
last modified time | relevance | path

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

12345678910>>...370

/PHP-7.0/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-7.0/ext/date/tests/
H A Ddate_period-immutable.phpt13 echo get_class( $dt ), "\n";
14 echo $dt->format( "l Y-m-d\n" );
15 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
16 echo $dt->format( "l Y-m-d\n\n" );
21 echo get_class( $dt ), "\n";
22 echo $dt->format( "l Y-m-d\n" );
23 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" );
24 echo $dt->format( "l Y-m-d\n\n" );
/PHP-7.0/ext/enchant/tests/
H A Dbroker_free_dict.phpt8 if(!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
9 …list_dicts(enchant_broker_init()))) {die("skip, dont has dictionary install in this machine! \n");}
17 echo("OK\n");
21 echo("OK\n");
28 echo("OK\n");
31 echo("dict broker free has failed\n");
35 echo("dict add to personal failed\n");
39 echo("broker request dict failed\n");
43 echo("broker is not a resource; failed;\n");
45 echo "OK\n";
/PHP-7.0/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-7.0/ext/mysqli/tests/
H A Dmysqli_affected_rows.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[005] Expecting int/0, got %s/%s. [%d] %s\n",
34 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
37 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
43 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
54 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
60 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
[all …]
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 …]
/PHP-7.0/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-7.0/ext/hash/tests/
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-7.0/ext/standard/tests/strings/
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";
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";
/PHP-7.0/ext/standard/tests/array/
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";
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 …]
/PHP-7.0/ext/pgsql/tests/
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-7.0/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-7.0/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-7.0/Zend/tests/
H A Dforeach_003.phpt6 private $n = 0;
21 function rewind() {$this->trap(__FUNCTION__); $this->n = 0;}
23 function key() {$this->trap(__FUNCTION__); return $this->n;}
24 function current() {$this->trap(__FUNCTION__); return $this->n;}
25 function next() {$this->trap(__FUNCTION__); $this->n++;}
32 foreach ($obj as $key => $val) echo "$val\n";
34 echo $e->getMessage() . "\n";
40 foreach (new IT(3, $trap) as $key => $val) echo "$val\n";
42 echo $e->getMessage() . "\n";
47 foreach ((object)new IT(2, $trap) as $key => $val) echo "$val\n";
[all …]
/PHP-7.0/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-7.0/ext/intl/tests/
H A Dcalendar_before_after_error.phpt16 echo "error: $errno, $errstr\n";
23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
34 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
45 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
50 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
56 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
61 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
/PHP-7.0/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-7.0/sapi/cli/tests/
H A D021.phpt21 $script = "#!$php -n\n".
22 "ola\n".
23 "<?php echo 1+1,'\n';\n".
24 "?>\n".
25 "adeus\n";
32 echo "\nDone\n";
/PHP-7.0/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-7.0/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";
/PHP-7.0/sapi/phpdbg/tests/
H A Dexceptions_003.phpt18 00007: print "ok\n";
22 00007: print "ok\n";
23 prompt> [L7 %s ECHO "ok\n" …
24 >00007: print "ok\n";
32 00007: print "ok\n";
33 prompt> [L10 %s ECHO "caught\n" …
34 >00010: print "caught\n";
48 print "ok\n";
51 print "caught\n";

Completed in 67 milliseconds

12345678910>>...370