Home
last modified time | relevance | path

Searched refs:n (Results 151 – 175 of 8075) sorted by relevance

12345678910>>...323

/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_call_user_func.phpt19 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 print "Regular, procedural, using variables\n";
40 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
63 print "Call user func, procedural, using references for everything\n";
69 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
97 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
125 printf("[020] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
152 printf("[025] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
181 printf("[025] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
210 printf("[030] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_real_escape_string_nobackslash.phpt18 printf("[002] Expecting \\, got %s\n", $tmp);
21 printf("[003] Expecting \", got %s\n", $tmp);
24 printf("[004] Expecting '', got %s\n", $tmp);
26 if ("\n" !== ($tmp = mysqli_real_escape_string($link, "\n")))
27 printf("[005] Expecting \\n, got %s\n", $tmp);
30 printf("[006] Expecting \\r, got %s\n", $tmp);
34 printf("[007] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp);
38 printf("[009] Cannot INSERT, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
42 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
51 printf("[012] Expecting \\, got %s\n", $tmp);
[all …]
H A Dmysqli_class_mysqli_driver_interface.phpt16 printf("Parent class:\n");
19 printf("\nMethods:\n");
39 printf("Dumping list of missing methods.\n");
43 printf("Dumping list of unexpected methods.\n");
47 printf("ok\n");
49 printf("\nClass variables:\n");
53 printf("%s\n", $var);
55 printf("\nObject variables:\n");
58 printf("%s\n", $var);
60 printf("\nMagic, magic properties:\n");
[all …]
H A Dmysqli_affected_rows_oo.phpt15 printf("[000a] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error);
29 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error);
32 printf("[005] [%d] %s\n", $mysqli->errno, $mysqli->error);
43 printf("[008] [%d] %s\n", $mysqli->errno, $mysqli->error);
49 printf("[010] [%d] %s\n", $mysqli->errno, $mysqli->error);
55 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error);
62 printf("[014] [%d] %s\n", $mysqli->errno, $mysqli->error);
68 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error);
74 printf("[017] [%d] %s\n", $mysqli->errno, $mysqli->error);
[all …]
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 …]
/PHP-5.3/ext/standard/tests/class_object/
H A Dforward_static_call_001.phpt10 echo static::NAME, "\n";
19 echo self::NAME, "\n";
24 echo self::NAME, "\n";
29 echo self::NAME, "\n";
40 echo self::NAME, "\n";
46 echo "-\n";
48 echo "-\n";
50 echo "-\n";
52 echo "-\n";
54 echo "-\n";
[all …]
/PHP-5.3/ext/dba/tests/
H A Ddba009.phpt11 echo "database handler: $handler\n";
12 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) {
13 echo "Opened\n";
15 echo dba_fetch("a", $db)."\n";
17 echo "Closed\n";
19 echo "Error creating database\n";
21 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) {
22 echo "Opened\n";
24 echo dba_fetch("a", $db)."\n";
/PHP-5.3/ext/standard/tests/dir/
H A Dchdir_variation2.phpt14 echo "*** Testing chdir() : usage variations ***\n";
28 echo "\n-- \$directory = './level_one': --\n";
33 echo "\n-- \$directory = 'level_one/level_two': --\n";
38 echo "\n-- \$directory = '..': --\n";
42 echo "\n-- \$directory = 'level_two', '.': --\n";
47 echo "\n-- \$directory = '../': --\n";
51 echo "\n-- \$directory = './': --\n";
56 echo "\n-- \$directory = '../../'level_one': --\n";
/PHP-5.3/ext/spl/tests/
H A Dfixedarray_002.phpt12 public function offsetGet($n) {
13 echo "A::offsetGet\n";
14 return parent::offsetGet($n);
16 public function offsetSet($n, $v) {
17 echo "A::offsetSet\n";
18 return parent::offsetSet($n, $v);
20 public function offsetUnset($n) {
21 echo "A::offsetUnset\n";
22 return parent::offsetUnset($n);
24 public function offsetExists($n) {
[all …]
H A Diterator_025.phpt10 echo __METHOD__ . "()\n";
15 echo __METHOD__ . "()\n";
23 foreach($it as $v) echo "$v\n";
25 echo "===MORE===\n";
27 foreach($it as $v) echo "$v\n";
29 echo "===MORE===\n";
32 foreach($it as $v) echo "$v\n";
35 echo "===MANUAL===\n";
40 echo $it->current() . "\n";
47 echo $it->current() . "\n";
/PHP-5.3/ext/imap/tests/
H A Dimap_createmailbox_basic.phpt14 echo "*** Testing imap_createmailbox() : basic functionality ***\n";
23 echo "Newname will be '$newname'\n";
28 echo "Add a couple of msgs to '$newname' mailbox\n";
34 echo "Messages: " . $status->messages . "\n";
35 echo "Recent: " . $status->recent . "\n";
36 echo "Unseen: " . $status->unseen . "\n";
37 echo "UIDnext: " . $status->uidnext . "\n";
38 echo "UIDvalidity: " . $status->uidvalidity . "\n";
45 echo "Mailbox '$newname' removed to restore initial state\n";
47 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n";
[all …]
H A Dimap_append_basic.phpt18 echo "Create a new mailbox for test\n";
21 exit("TEST FAILED: Unable to create test mailbox\n");
27 , "From: webmaster@something.com\r\n"
28 . "To: info@something.com\r\n"
29 . "Subject: Test message\r\n"
30 . "\r\n"
36 . "To: info@something.com\r\n"
37 . "Subject: Another test\r\n"
38 . "\r\n"
43 echo "Msg Count after append : ". $check->Nmsgs . "\n";
[all …]
/PHP-5.3/ext/shmop/tests/
H A D001.phpt18 die("failed\n");
20 echo "ok\n";
28 echo "failed\n";
30 echo "ok\n";
40 echo "failed\n";
42 echo "ok\n";
56 echo "failed\n";
58 echo "ok\n";
64 die("failed\n");
66 echo "ok\n";
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Dsha1_file.phpt35 echo "\n*** Testing for error conditions ***\n";
37 echo "\n-- No filename --\n";
40 echo "\n-- invalid filename --\n";
43 echo "\n-- Scalar value as filename --\n";
46 echo "\n-- NULL as filename --\n";
49 echo "\n-- Zero arguments --\n";
52 echo "\n-- More than valid number of arguments ( valid is 2) --\n";
55 echo "\n-- Hexadecimal Output for Empty file as Argument --\n";
58 echo "\n-- Raw Binary Output for Empty file as Argument --\n";
61 echo "\n-- Hexadecimal Output for a valid file with some contents --\n";
[all …]
/PHP-5.3/ext/standard/tests/array/
H A Dcount_recursive.phpt12 print "-- Testing NULL --\n";
17 print "-- Testing arrays --\n";
22 print "-- Testing hashes --\n";
27 print "-- Testing strings --\n";
59 echo "\n-- Iteration $i --\n";
67 print "\n-- Testing count() on constants with no second argument --\n";
71 print "\n-- Testing count() on NULL and Unset variables --\n";
77 print "\n-- Testing count() on an empty sub-array --\n";
82 echo "\n-- Testing count() on objects with Countable interface --\n";
97 echo "\n-- Testing count() on resource type --\n";
[all …]
/PHP-5.3/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-5.3/ext/pgsql/tests/
H A D05large_object.phpt12 echo "create/write/close LO\n";
15 if (!$oid) echo ("pg_lo_create() error\n");
17 if (!$handle) echo ("pg_lo_open() error\n");
18 pg_lo_write ($handle, "large object data\n");
22 echo "open/read/tell/seek/close LO\n";
31 echo "open/read_all/close LO\n";
39 echo "unlink LO\n";
45 echo "Test without connection\n";
51 echo "Test with string oid value\n";
57 echo "import/export LO\n";
[all …]
/PHP-5.3/ext/standard/tests/file/
H A Dfiletype_variation.phpt31 echo "-- Checking with files --\n";
32 print( filetype($file1) )."\n";
33 print( filetype($file2) )."\n";
36 echo "-- Checking with links: hardlink --\n";
38 print( filetype($link1 ) )."\n";
40 echo "-- Checking with links: symlink --\n";
42 print( filetype($link2) )."\n";
49 echo "-- Checking with directory --\n";
54 echo "-- Checking with fifo --\n";
56 print( filetype( $file3) )."\n";
[all …]
/PHP-5.3/tests/classes/
H A D__call_007.phpt24 echo "---> Invoke __call via simple method call.\n";
28 echo "Exception caught OK; continuing.\n";
31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n";
35 echo "Exception caught OK; continuing.\n";
38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n";
43 echo "Exception caught OK; continuing.\n";
46 echo "\n\n---> Invoke __call via callback.\n";
50 echo "Exception caught OK; continuing.\n";
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dutil.c100 int n, i, k; in sqliteCheckMemory() local
156 if( n==0 ){ in sqliteRealloc_()
185 memcpy(p, oldP, n>oldN ? oldN : n); in sqliteRealloc_()
186 if( n>oldN ){ in sqliteRealloc_()
293 if( n==0 ){ in sqliteRealloc()
377 int n; in sqliteSetNString() local
384 if( n<=0 ) n = strlen(z); in sqliteSetNString()
385 nByte += n; in sqliteSetNString()
394 if( n<=0 ) n = strlen(z); in sqliteSetNString()
489 if( n<=0 ) n = strlen(z); in sqliteHashNoCase()
[all …]
/PHP-5.3/ext/mbstring/tests/
H A Dmb_convert_encoding.phpt24 echo "== BASIC TEST ==\n";
27 print("EUC-JP: $s\n"); // EUC-JP
31 print("EUC-JP: $s\n"); // EUC-JP
48 print("EUC-JP: $s\n"); // EUC-JP
65 print("EUC-JP: $s\n"); // EUC-JP
77 echo "== DETECT ORDER ==\n";
81 print("EUC-JP: $s\n"); // EUC-JP
93 echo "== INVALID PARAMETER ==\n";
96 print("INT: $s\n"); // EUC-JP
99 print("EUC-JP: $s\n"); // SJIS
[all …]
/PHP-5.3/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";
/PHP-5.3/ext/hash/tests/
H A Dadler32.phpt7 echo hash('adler32', ''), "\n";
8 echo hash('adler32', 'a'), "\n";
9 echo hash('adler32', 'abc'), "\n";
10 echo hash('adler32', 'message digest'), "\n";
11 echo hash('adler32', 'abcdefghijklmnopqrstuvwxyz'), "\n";
12 echo hash('adler32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n";
13 …dler32', '12345678901234567890123456789012345678901234567890123456789012345678901234567890'), "\n";
/PHP-5.3/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 …]
/PHP-5.3/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 …]

Completed in 115 milliseconds

12345678910>>...323