Home
last modified time | relevance | path

Searched refs:n (Results 476 – 500 of 8587) sorted by relevance

1...<<11121314151617181920>>...344

/PHP-5.3/ext/xml/tests/
H A Dxml_set_notation_decl_handler_basic.phpt22 echo "unparsed_entity_decl_handler called\n";
23 echo "...Entity name=" . $entity_name . "\n";
24 echo "...Base=" . $base . "\n";
25 echo "...System ID=" . $system_ID . "\n";
26 echo "...Public ID=" . $public_ID . "\n";
32 echo "notation_decl_handler called\n";
33 echo "...Name=" . $name . "\n";
34 echo "...Base=" . $base . "\n";
35 echo "...System ID=" . $system_ID . "\n";
36 echo "...Public ID=" . $public_ID . "\n";
[all …]
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_data_seek.phpt17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
30 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
55 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_datatype_change.phpt30 echo "---- Row 1\n";
33 echo "---- Row 2\n";
36 echo "---- Row 3\n";
38 echo "----\n";
40 echo "ALTER\n";
45 echo "---- Row 1\n";
48 echo "---- Row 2\n";
51 echo "---- Row 3\n";
53 echo "----\n";
61 printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
[all …]
H A Dmysqli_stmt_execute_stored_proc_out.phpt30 printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
34 printf("[005] Cannot prepare CALL, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
39 …printf("[006] Cannot bind parameter, [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt…
42 …printf("[007] Cannot execute CALL, [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 printf("[008] More results: %s\n", (mysqli_more_results($link) ? "yes" : "no"));
45 printf("[009] Next results: %s\n", (mysqli_next_result($link) ? "yes" : "no"));
48 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
51 printf("[011] Results seem wrong got '%s'\n", $ver_out);
57 printf("[013] [%d] %s\n", $link->errno, $link->error);
60 printf("[004] Cannot create SP, [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_commit_oo.phpt25 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
32 printf("[002] Expecting NULL/NULL, got %s/%s, [%d] %s\n",
36 printf("[014] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
42 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
48 printf("[006] [%d] %s\n", $mysqli->errno, $mysqli->error);
52 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
55 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error);
58 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error);
61 printf("[010] Expecting 1 row in table test, found %d rows\n", $tmp['num']);
65 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
H A Dmysqli_character_set_name.phpt18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
31 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
36 printf("[006] Cannot determine server version, need MySQL Server 4.1+ for the test!\n");
39 printf("[007] Need MySQL Server 4.1+ for the test!\n");
42 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 printf("[009] Cannot determine current character set and collation\n");
66 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_commit.phpt24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
56 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 printf("[12] Expecting 1 row in table test, found %d rows\n", $tmp['num']);
63 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_rollback.phpt26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
48 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
52 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
55 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
58 printf("[12] Expecting 0 rows in table test, found %d rows\n", $tmp['num']);
62 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
67 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_data_seek_oo.phpt24 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
30 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[005] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[006] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
56 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
61 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_more_results.phpt23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 print "[004]\n";
35 print "[006]\n";
47 printf("%d\n", $i++);
54 printf("[008] Strict Standards warning missing\n");
58 print trim($tmp) . "\n";
63 print "[010]\n";
79 printf("%d\n", $i++);
86 printf("[008] Strict Standards warning missing\n");
[all …]
/PHP-5.3/ext/standard/tests/array/
H A Darray_rand_variation5.phpt16 echo "*** Testing array_rand() : with invalid values for 'req_num' ***\n";
28 echo"\n-- With default num_req value --\n";
30 echo"\n-- With num_req = 1 --\n";
34 echo"\n-- With num_req = 0 --\n";
36 echo"\n-- With num_req = -1 --\n";
38 echo"\n-- With num_req = -2 --\n";
40 echo"\n-- With num_req more than number of members in 'input' array --\n";
H A Drsort_basic.phpt14 echo "*** Testing rsort() : basic functionality ***\n";
22 echo "\n-- Testing rsort() by supplying string array, 'flag' value is defualt --\n";
27 echo "\n-- Testing rsort() by supplying numeric array, 'flag' value is defualt --\n";
32 echo "\n-- Testing rsort() by supplying string array, 'flag' = SORT_REGULAR --\n";
37 echo "\n-- Testing rsort() by supplying numeric array, 'flag' = SORT_REGULAR --\n";
42 echo "\n-- Testing rsort() by supplying string array, 'flag' = SORT_STRING --\n";
47 echo "\n-- Testing rsort() by supplying numeric array, 'flag' = SORT_NUMERIC --\n";
H A Darray_map_object3.phpt24 public static function staticParent1($n) {
25 return $n;
27 private static function staticParent2($n) {
28 return $n;
39 public static function staticChild($n) {
40 return $n;
42 public function nonstaticChild($n) {
43 return $n;
50 echo "-- accessing parent method from child class --\n";
53 echo "-- accessing child method from parent class --\n";
[all …]
/PHP-5.3/ext/pcntl/tests/
H A D002.phpt25 echo "signo == SIGTERM\n";
27 echo "code === SI_USER || SI_NOINFO\n";
37 echo "signo == SIGCHLD\n";
39 echo "code === CLD_KILLED\n";
41 echo "signo === SIGCHLD\n";
43 echo "signo === uid\n";
45 echo "signo === pid\n";
51 echo "sigprocmask with invalid arguments\n";
59 echo "Error triggered\n";
60 echo "bool(false)\n";
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Drtrim.phpt10 echo "\n *** Output for Error Conditions ***\n";
16 echo "\n *** Output for Normal Behaviour ***\n";
22 …var_dump ( rtrim("rtrim test \t\n\r\0\x0B", "\t\n\r\0\x0B") ); /* with multiple escape sequences …
29 echo "\n*** Checking with OBJECTS ***\n";
39 echo "\n*** String with embedded NULL ***\n";
48 echo "\n *** Using heredoc string ***\n";
51 echo "Done\n";
/PHP-5.3/sapi/thttpd/
H A Dthttpd.c69 int n; in sapi_thttpd_ub_write() local
90 str += n; in sapi_thttpd_ub_write()
108 int n; in do_writev() local
117 n = 0; in do_writev()
126 n = 0; in do_writev()
145 n = 0; in do_writev()
160 # define ADD_VEC(str,l) vec[n].iov_base=str;len += (vec[n].iov_len=l); n++
215 n = 0; in sapi_thttpd_send_headers()
483 #define thread_usleep(n) st_usleep(n) argument
486 #define thread_atomic_inc(n) (++n) argument
[all …]
/PHP-5.3/ext/reflection/tests/
H A Dincluded4.inc2 echo __FILE__ . "\n";
3 echo __LINE__ . "\n";
6 echo __FILE__ . "\n";
7 echo __LINE__ . "\n";
/PHP-5.3/ext/standard/tests/general_functions/
H A Dget_extension_funcs_error.phpt11 echo "*** Testing get_extension_funcs() : error conditions ***\n";
13 echo "\n-- Too few arguments --\n";
17 echo "\n-- Too many arguments --\n";
20 echo "\n-- Invalid extension name --\n";
/PHP-5.3/ext/dba/tests/
H A Ddba_db4_004.phpt2 DBA DB4 Truncate Existing File open("n")
14 echo "database handler: $handler\n";
18 if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) {
20 echo "database file created\n";
22 echo dba_fetch("key1", $db_file), "\n";
25 echo "File did not get created\n";
28 echo "Error creating $db_filename\n";
H A Ddba_db4_008.phpt2 DBA DB4 Truncate Existing File popen("n")
14 echo "database handler: $handler\n";
18 if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) {
20 echo "database file created\n";
22 echo dba_fetch("key1", $db_file), "\n";
25 echo "File did not get created\n";
28 echo "Error creating $db_filename\n";
/PHP-5.3/ext/gmp/tests/
H A D019.phpt17 $n = gmp_init(100101);
18 var_dump(gmp_perfect_square($n));
19 $n = gmp_init(64);
20 var_dump(gmp_perfect_square($n));
21 $n = gmp_init(-5);
22 var_dump(gmp_perfect_square($n));
27 echo "Done\n";
/PHP-5.3/ext/standard/tests/streams/
H A Dbug64770.phpt22 $n = stream_select($pipes, $w, $e, 300);
24 if ($n === false) {
25 echo "no streams \n";
27 } else if ($n === 0) {
28 echo "process timed out\n";
31 } else if ($n > 0) {
45 echo "no process\n";
/PHP-5.3/ext/date/tests/
H A Dbug33957.phpt8 echo "1992-12-$i ", date("W", strtotime("1992-12-$i")), "\n";
11 echo "1993-01-$i ", date("W", strtotime("1993-01-$i")), "\n";
13 echo "----\n";
18 echo "\n";
26 echo "\n";
34 echo "\n";
36 echo "----\n";
/PHP-5.3/ext/mysql/tests/
H A Dmysql_data_seek.phpt16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
19 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
29 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[011] [%d] %s\n", mysql_errno($link), mysql_error($link));
54 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
/PHP-5.3/ext/standard/tests/class_object/
H A Dget_class_vars_variation2.phpt49 echo "*** Testing get_class_vars() : testing visibility\n";
51 echo "\n-- From global context --\n";
54 echo "\n-- From inside an object instance --\n";
58 echo "\n-- From a static context --\n";
62 echo "\n-- From inside an parent object instance --\n";
66 echo "\n-- From a parents static context --\n";
70 echo "\n-- From inside a child object instance --\n";
74 echo "\n-- From a child's static context --\n";

Completed in 31 milliseconds

1...<<11121314151617181920>>...344