Home
last modified time | relevance | path

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

12345678910>>...329

/PHP-5.3/ext/phar/tests/
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.3/ext/standard/tests/strings/
H A Dbug47842.phpt5 if (PHP_INT_MAX < pow(2,31)) die("skip PHP_INT_MAX < 32b\n");
9 echo "-Test\n";
12 echo "sscanf 32-bit signed int '2147483647' (2^31)-1 = ",$int,"\n";
14 echo "sscanf 32-bit unsign int '4294967295' (2^32)-1 = ",$int,"\n";
17 echo "sscanf 64-bit signed int '9223372036854775807' (2^63)-1 = ",$int,"\n";
19 echo "sscanf 64-bit unsign int '18446744073709551615' (2^64)-1 = ",$int,"\n";
21 printf("printf 64-bit signed int '9223372036854775807' (2^63)-1 = %d\n", 9223372036854775807);
22 printf("printf 64-bit signed int '18446744073709551615' (2^64)-1 = %u\n", 18446744073709551615);
24 echo "Done\n";
H A Dbug20261.phpt9 echo "1: ".$first."\n";
10 echo "2: ".$second."\n";
11 echo "3: ".$rot."\n";
15 echo "1: ".$first."\n";
16 echo "2: ".$second."\n";
17 echo "3: ".$rot."\n";
/PHP-5.3/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt23 echo "== BASIC TEST ==\n";
26 print("SJIS: $s\n");
30 print("JIS: $s\n");
34 print("EUC-JP: $s\n");
38 print("EUC-JP: $s\n");
50 print("JIS: $s\n");
54 print("EUC-JP: $s\n");
58 print("SJIS: $s\n");
69 print("JIS: $s\n");
73 print("EUC-JP: $s\n");
[all …]
H A Dmb_convert_kana.phpt24 echo "\n";
26 echo "\n";
28 echo "\n";
30 echo "\n";
32 echo "\n";
34 echo "\n";
35 echo "\n";
37 echo "\n";
39 echo "\n";
41 echo "\n";
H A Dmb_strwidth.phpt15 print "1: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
18 print "2: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
19 print "3: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
21 print "4: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n";
24 ($str === "") ? print "5 OK\n" : print "NG: $str\n";
27 ($str !== "") ? print "6 OK: $str\n" : print "NG: $str\n";
/PHP-5.3/Zend/tests/
H A Dclosure_016.phpt7 echo "Hello World!\n";
13 echo "Hello World!\n";
18 echo $name."\n";
20 echo $name."\n";
22 echo $name."\n";
24 echo $name."\n";
27 echo $name."\n";
29 echo $name."\n";
31 echo $name."\n";
33 echo $name."\n";
/PHP-5.3/ext/pgsql/tests/
H A D28large_object_import_oid.phpt7 if (version_compare("8.4devel", $v["client"]) > 0) die("skip - requires pg client >= 8.4\n");
8 if (version_compare("8.4devel", $v["server"]) > 0) die("skip - requires pg server >= 8.4\n");
17 echo "import LO from int\n";
20 if (!$oid) echo ("pg_lo_import() error\n");
21 if ($oid != 21003) echo ("pg_lo_import() wrong id\n");
25 echo "import LO from string\n";
28 if (!$oid) echo ("pg_lo_import() error\n");
29 if ($oid != 21004) echo ("pg_lo_import() wrong id\n");
33 echo "import LO using default connection\n";
36 if (!$oid) echo ("pg_lo_import() error\n");
[all …]
/PHP-5.3/ext/reflection/tests/
H A DReflectionParameter_001.phpt18 echo "No arg function\n";
26 echo "Parameters from twoArgMethod:\n\n";
30 echo "\n";
35 echo "Parameters from oneArgNonStatic:\n\n";
39 echo "\n";
45 echo "Parameters from noArgs:\n\n";
50 echo "\n";
53 echo "done\n";
/PHP-5.3/ext/spl/tests/
H A Dpqueue_002.phpt15 echo "inserted 1\n";
17 echo "inserted 2\n";
19 echo "inserted 3\n";
21 echo "Exception: ".$e->getMessage()."\n";
26 echo "inserted 4\n";
28 echo "Exception: ".$e->getMessage()."\n";
34 echo "Exception: ".$e->getMessage()."\n";
39 echo "Exception: ".$e->getMessage()."\n";
42 echo "Recovering..\n";
48 echo "Exception: ".$e->getMessage()."\n";
[all …]
H A Dheap_004.phpt15 echo "inserted 1\n";
17 echo "inserted 2\n";
19 echo "inserted 3\n";
21 echo "Exception: ".$e->getMessage()."\n";
26 echo "inserted 4\n";
28 echo "Exception: ".$e->getMessage()."\n";
34 echo "Exception: ".$e->getMessage()."\n";
39 echo "Exception: ".$e->getMessage()."\n";
42 echo "Recovering..\n";
48 echo "Exception: ".$e->getMessage()."\n";
[all …]
H A Diterator_007.phpt10 echo __METHOD__ . "\n";
15 echo __METHOD__ . "\n";
20 echo __METHOD__ . "\n";
25 echo __METHOD__ . "\n";
30 echo __METHOD__ . "\n";
39 echo __METHOD__ . "\n";
66 echo "===0===\n";
71 echo "===1===\n";
80 echo "===2===\n";
88 echo "===3===\n";
[all …]
/PHP-5.3/ext/date/tests/
H A DDateTimeZone_clone_basic3.phpt8 echo "*** Testing clone on DateTime objects ***\n";
10 echo "\n-- Create a DateTimeZone object --\n";
13 echo "\n-- Add some properties --\n";
17 echo "\n-- clone it --\n";
20 echo "\n-- Add some more properties --\n";
24 echo "\n-- clone it --\n";
H A Drfc-datetime_and_daylight_saving_time-type1.phpt51 echo "\n";
93 echo "\n";
103 . $end->sub($interval)->format($date_format) . "\n";
109 . $end->sub($interval)->format($date_format) . "\n";
115 . $end->sub($interval)->format($date_format) . "\n";
121 . $end->sub($interval)->format($date_format) . "\n";
127 . $end->sub($interval)->format($date_format) . "\n";
133 . $end->sub($interval)->format($date_format) . "\n";
141 echo "\n";
187 echo "\n";
[all …]
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_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);
39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp);
56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
134 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dbug_mysql_49406.phpt19 printf("[002] [%d] %s\n", $link->errno, $link->error);
67 printf("Field : %d\n", $field_idx);
68 printf("Name : %s\n", $field->name);
69 printf("Orgname : %s\n", $field->orgname);
70 printf("Table : %s\n", $field->table);
71 printf("Orgtable : %s\n", $field->orgtable);
72 printf("Maxlength : %d\n", $field->max_length);
73 printf("Length : %d\n", $field->length);
74 printf("Charsetnr : %d\n", $field->charsetnr);
75 printf("Flags : %d\n", $field->flags);
[all …]
H A Dmysqli_class_mysqli_stmt_interface.phpt17 printf("Parent class:\n");
20 printf("\nMethods:\n");
69 printf("ok\n");
71 printf("\nClass variables:\n");
75 printf("%s\n", $var);
77 printf("\nObject variables:\n");
80 printf("%s\n", $var);
82 printf("\nMagic, magic properties:\n");
95 printf("stmt->errno = '%s'\n", $stmt->errno);
98 printf("stmt->error = '%s'\n", $stmt->error);
[all …]
H A Dmysqli_prepare.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] Expecting boolean/false, got %s\n", gettype($tmp));
36 printf("[006][%d] %s\n", mysqli_errno($link), mysqli_error($link));
41 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
44 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
49 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
53 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
101 printf("[022] Expecting 'testvar'/1, got %s/%s. [%d] %s\n",
110 printf("[023] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_get_warnings.phpt20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
43 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
50 printf("[009] Borked object, method next is missing\n");
69 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
91 printf("[022] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
94 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
/PHP-5.3/ext/standard/tests/file/
H A Drename_variation5.phpt26 echo "\n-- Renaming link to same link name --\n";
29 echo "\n-- Renaming file to same file name --\n";
32 echo "\n-- Renaming directory to same directory name --\n";
35 echo "\n-- Renaming existing link to existing directory name --\n";
37 echo "\n-- Renaming existing link to existing file name --\n";
40 echo "\n-- Renaming existing file to existing directory name --\n";
42 echo "\n-- Renaming existing file to existing link name --\n";
45 echo "\n-- Renaming existing directory to existing file name --\n";
49 echo "\n-- Renaming existing directory to existing link name --\n";
52 echo "Done\n";
/PHP-5.3/ext/standard/tests/serialize/
H A D005.phpt34 echo "Try __autoload()\n";
50 echo __METHOD__ . "()\n";
55 echo __METHOD__ . "()\n";
102 echo "===O1===\n";
106 echo "===N1===\n";
110 echo "===N2===\n";
114 echo "===NAOld===\n";
117 echo "===NANew===\n";
120 echo "===NANew2===\n";
123 echo "===AutoOld===\n";
[all …]
/PHP-5.3/ext/standard/tests/array/
H A D008.phpt10 echo '$a='.var_export($a,TRUE).";\n";
11 echo '$b='.var_export($b,TRUE).";\n";
12 echo '$c='.var_export($c,TRUE).";\n";
14 echo 'array_intersect($a,$b,$c);'."\n";
20 echo 'array_intersect($a,$b);'."\n";
67 echo '$a='.var_export($a,TRUE).";\n";
68 echo '$b='.var_export($b,TRUE).";\n";
69 echo '$c='.var_export($c,TRUE).";\n";
70 echo "\n\nResults:\n\n";
72 echo 'array_intersect($a,$b,$c);'."\n";
[all …]
/PHP-5.3/ext/oci8/tests/
H A Dbind_char_1.phpt53 echo "Test 1.3: Type: AFC: Length: 0\n";
58 echo "Test 1.4: Type: AFC: Length: strlen\n";
73 echo "\n\n*** NULL data tests against CHAR ***\n";
88 echo "Test 2.3: Type: AFC: Length: 0\n";
109 echo "\n\n*** Non-null Data Tests against VARCHAR2***\n";
124 echo "Test 3.3: Type: AFC: Length: 0\n";
145 echo "\n\n*** NULL data tests against VARCHAR2 ***\n";
160 echo "Test 4.3: Type: AFC: Length: 0\n";
184 echo " Querying:\n";
194 echo " :" . $item . ":\n";
[all …]
/PHP-5.3/ext/interbase/tests/
H A D004.phpt26 echo "import blob 1\n";
35 echo "test blob 1\n";
45 echo " BLOB 1 fail (1)\n";
54 echo " BLOB 1 fail (2)\n";
59 echo "create blob 2\n";
63 echo "test blob 2\n";
69 echo " BLOB 2 fail\n";
74 echo "create blob 3\n";
105 echo "echo blob 3\n";
116 echo "fetch blob 3\n";
[all …]
/PHP-5.3/ext/gd/tests/
H A Dtypes.phpt5 if (!function_exists('imagetypes')) die("skip gd extension not available\n");
12 echo "gif failed\n";
16 echo "jpeg failed\n";
20 echo "png failed\n";
24 echo "wbmp failed\n";
28 echo "xom failed\n";
30 echo "ok\n";

Completed in 87 milliseconds

12345678910>>...329