Home
last modified time | relevance | path

Searched refs:n (Results 251 – 275 of 8331) sorted by relevance

1...<<11121314151617181920>>...334

/PHP-5.3/ext/standard/tests/array/
H A Darray_fill_keys_variation4.phpt13 echo "*** Testing array_fill_keys() : parameter variations ***\n";
29 echo "\n-- Testing array_fill_keys() function with float --\n";
32 echo "\n-- Testing array_fill_keys() function with null --\n";
35 echo "\n-- Testing array_fill_keys() function with object --\n";
38 echo "\n-- Testing array_fill_keys() function with boolean --\n";
41 echo "\n-- Testing array_fill_keys() function with resource --\n";
44 echo "\n-- Testing array_fill_keys() function with unset var --\n";
H A Deach_variation6.phpt15 echo "*** Testing each() : usage variations ***\n";
19 echo "\n-- Current position: --\n";
20 echo key($arr) . " => " . current($arr) . "\n";
22 echo "\n-- Call to each(): --\n";
25 echo "\n-- New position: --\n";
26 echo key($arr) . " => " . current($arr) . "\n";
/PHP-5.3/ext/gd/tests/
H A Dimagefilter.phpt29 echo "$filt success\n";
32 echo "$filt failed\n";
40 echo "IMG_FILTER_SMOOTH success\n";
43 echo "IMG_FILTER_SMOOTH failed\n";
50 echo "IMG_FILTER_COLORIZE success\n";
53 echo "IMG_FILTER_COLORIZE failed\n";
60 echo "IMG_FILTER_CONTRAST success\n";
63 echo "IMG_FILTER_CONTRAST failed\n";
73 echo "IMG_FILTER_BRIGHTNESS failed\n";
80 echo "IMG_FILTER_PIXELATE success\n";
[all …]
/PHP-5.3/tests/classes/
H A Dtostring_001.phpt21 return "Converted\n";
33 echo "====test1====\n";
39 echo "====test2====\n";
44 echo "====test3====\n";
47 echo "====test4====\n";
50 echo "====test5====\n";
54 echo "====test6====\n";
58 echo "====test7====\n";
63 echo "====test8====\n";
67 echo "====test9====\n";
[all …]
/PHP-5.3/ext/libxml/tests/
H A D002.phpt20 $xml = explode("\n", $xmlstr);
35 $return = $xml[$error->line - 1] . "\n";
36 $return .= str_repeat('-', $error->column) . "^\n";
50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column";
53 $return .= "\n File: $error->file";
56 return "$return\n\n--------------------------------------------\n\n";
60 echo "Done\n";
/PHP-5.3/ext/standard/tests/strings/
H A Dtrim_basic.phpt11 echo "*** Testing trim() : basic functionality ***\n";
13 $text = " \t\r\n\0\x0B ---These are a few words--- \t\r\n\0\x0B ";
17 echo "\n-- Trim string with all white space characters --\n";
20 echo "\n-- Trim non-whitespace from a string --\n";
23 echo "\n-- Trim some non-white space characters from a string --\n";
26 echo "\n-- Trim the ASCII control characters at the beginning of a string --\n";
H A Dstr_rot13_basic.phpt9 echo "*** Testing str_rot13() : basic functionality ***\n";
11 echo "\nBasic tests\n";
15 echo "\nEnsure numeric characters are left untouched\n";
17 echo "Strings equal : TEST PASSED\n";
19 echo "Strings unequal : TEST FAILED\n";
22 echo "\nEnsure non-alphabetic characters are left untouched\n";
24 echo "Strings equal : TEST PASSED\n";
26 echo "Strings unequal : TEST FAILED\n";
29 echo "\nEnsure strings round trip\n";
34 echo "Strings equal : TEST PASSED\n";
[all …]
H A Dstrtok_basic.phpt14 echo "*** Testing strtok() : basic functionality ***\n";
20 echo "\nThe Input string is:\n\"$str\"\n";
21 echo "\nThe token string is:\n\"$token\"\n";
24 echo "\n--- Token 1 ---\n";
28 echo "\n--- Token $i ---\n";
32 echo "Done\n";
H A Dwordwrap_variation5.phpt14 echo "*** Testing wordwrap() : usage variations ***\n";
21 echo "\n-- Testing wordwrap() with default break value and single space as value --\n";
22 echo "-- with default break and cut value --\n";
25 echo "-- with default cut value --\n";
31 echo "-- with cut value as false --\n";
36 echo "-- with cut value as true --\n";
41 echo "Done\n";
58 string(43) "T e s t i n g w o r d r a p f u n c t i o n"
59 string(64) "T e s t i n g w o r d r a p f u n c t i o n"
/PHP-5.3/ext/dba/tests/
H A Ddba007.phpt12 echo "database handler: $handler\n";
15 if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
16 echo "database file created\n";
18 echo "$db_file does not exist\n";
20 if (($db_file1=dba_open($db_file1, "n", $handler))!==FALSE) {
21 echo "database file created\n";
23 echo "$db_file does not exist\n";
25 if (($db_file2=dba_open($db_file2, "n", $handler))!==FALSE) {
26 echo "database file created\n";
28 echo "$db_file does not exist\n";
H A Ddba_db4_009.phpt13 echo "database handler: $handler\n";
16 if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
17 echo "database file created\n";
19 echo "$db_file does not exist\n";
21 if (($db_file1=dba_open($db_file1, "n", $handler))!==FALSE) {
22 echo "database file created\n";
24 echo "$db_file does not exist\n";
26 if (($db_file2=dba_open($db_file2, "n", $handler))!==FALSE) {
27 echo "database file created\n";
29 echo "$db_file does not exist\n";
/PHP-5.3/ext/spl/tests/
H A Ddllist_004.phpt12 echo "Exception: ".$e->getMessage()."\n";
17 echo "Exception: ".$e->getMessage()."\n";
26 echo $stack->pop()."\n";
27 echo $stack->pop()."\n";
32 echo $stack->top()."\n";
36 echo "[$elem]\n";
42 echo count($stack)."\n";
43 echo $stack->count()."\n";
51 echo count($stack)."\n";
H A Ddllist_005.phpt12 echo "Exception: ".$e->getMessage()."\n";
17 echo "Exception: ".$e->getMessage()."\n";
26 echo $queue->dequeue()."\n";
27 echo $queue->dequeue()."\n";
32 echo $queue->top()."\n";
36 echo "[$elem]\n";
42 echo count($queue)."\n";
43 echo $queue->count()."\n";
51 echo count($queue)."\n";
H A Dspl_autoload_001.phpt8 echo "===EMPTY===\n";
18 echo 'Exception: ' . $e->getMessage() . "\n";
25 echo "===($exts)===\n";
32 echo 'Exception: ' . $e->getMessage() . "\n";
43 echo 'Exception: ' . $e->getMessage() . "\n";
48 echo __METHOD__ . "($classname)\n";
53 echo __METHOD__ . "($classname)\n";
56 echo "===SPL_AUTOLOAD()===\n";
70 echo "===REGISTER===\n";
87 echo "===LOAD===\n";
[all …]
/PHP-5.3/Zend/tests/
H A Dlsb_002.phpt43 echo $testClass->testStaticVar() . "\n";
44 echo $testClass->testClassConst() . "\n";
45 echo $testClass->testStaticFunction() . "\n";
47 echo $childClass1->testStaticVar() . "\n";
48 echo $childClass1->testClassConst() . "\n";
49 echo $childClass1->testStaticFunction() . "\n";
51 echo $childClass2->testStaticVar() . "\n";
52 echo $childClass2->testClassConst() . "\n";
53 echo $childClass2->testStaticFunction() . "\n";
H A Djump01.phpt5 $n = 1;
7 echo "$n: ok\n";
8 $n++;
9 if ($n <= 3) goto L1;
/PHP-5.3/ext/soap/tests/bugs/
H A Dbug30045.phpt53 echo "byte\n";
59 echo "\nshort\n";
65 echo "\nint\n";
71 echo "\nlong\n";
77 echo "\nunsignedByte\n";
83 echo "\nunsignedShort\n";
89 echo "\nunsignedInt\n";
95 echo "\nunsignedLong\n";
121 echo "\ninteger\n";
125 echo "long\n";
[all …]
/PHP-5.3/main/
H A Dstrlcat.c74 register size_t n = siz; local
78 while (*d != '\0' && n-- != 0)
81 n = siz - dlen;
83 if (n == 0)
86 if (n != 1) {
88 n--;
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_seek.phpt17 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n",
41 printf("[007] Cannot seek to position %d, [%d] %s\n",
45 printf("[008] Record looks wrong, dumping data\n");
52 printf("[009] Record looks wrong, dumping data\n");
59 printf("[010] Not empty, dumping unexpected data\n");
82 printf("[016] Expecting id = %d for pos %d got %s/%s\n",
101 printf("[017] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
104 printf("[018] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
109 printf("[019] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_execute.phpt23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[005] Statement should have failed!\n");
42 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[008] Expecting boolean/true, got %s/%s. [%d] %s\n",
79 printf("[016] Expecting boolean/true, got %s/%s. [%d] %s\n",
87 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id);
90 printf("[019] Expecting boolean/true, got %s/%s. [%d] %s\n",
112 printf("[025] Expecting boolean/true, got %s/%s. [%d] %s\n",
[all …]
H A Dmysqli_insert_packet_overflow.phpt13 die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
16 die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
29 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
32 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
47 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
75 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
90 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
93 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_change_user_locks_temporary.phpt16 printf("[001] Cannot create second connection handle, [%d] %s\n",
20 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
37 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
40 printf("[005] There should be some rows in the table test\n");
46 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
49 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
52 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
55 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 printf("[011] There should be three rows in the table test\n");
[all …]
/PHP-5.3/ext/date/tests/
H A Dbug33578.phpt6 echo date('m/d/Y', strtotime('Oct 11')), "\n";
7 echo date('m/d/Y', strtotime('11 Oct')), "\n";
8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n";
9 echo date('m/d/Y', strtotime('Oct11')), "\n";
10 echo date('m/d/Y', strtotime('11Oct')), "\n";
11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n";
12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
H A Dbug48097.phpt9 echo $d->format( DATE_ISO8601 ), "\n";
10 echo $d->format( 'U' ), "\n\n";
14 echo $d->format( DATE_ISO8601 ), "\n\n";
15 echo $d->format( 'U' ), "\n\n";
/PHP-5.3/ext/reflection/tests/
H A Dbug43926.phpt27 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof A) ? 'true' : 'false') ."\n");
28 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof C) ? 'true' : 'false') ."\n");
29 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof D) ? 'true' : 'false') ."\n");
30 …nstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof E) ? 'true' : 'false') ."\n");
31 print "-\n";
32 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof A) ? 'true' : 'false') ."\n");
33 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof C) ? 'true' : 'false') ."\n");
34 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof D) ? 'true' : 'false') ."\n");
35 …nstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof E) ? 'true' : 'false') ."\n");
36 print "-\n";
[all …]

Completed in 65 milliseconds

1...<<11121314151617181920>>...334