Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...363

/PHP-5.6/Zend/tests/
H A Dlsb_001.phpt38 echo TestClass::testStaticVar() . "\n";
39 echo TestClass::testClassConst() . "\n";
40 echo TestClass::testStaticFunction() . "\n";
42 echo ChildClass1::testStaticVar() . "\n";
43 echo ChildClass1::testClassConst() . "\n";
44 echo ChildClass1::testStaticFunction() . "\n";
46 echo ChildClass2::testStaticVar() . "\n";
47 echo ChildClass2::testClassConst() . "\n";
48 echo ChildClass2::testStaticFunction() . "\n";
H A Dbug29210.phpt7 echo "test_func1\n";
10 echo "test_func2\n";
13 echo "test_func3\n";
16 echo "test_func4\n";
22 echo "test_func1 isn't callable from inside\n";
27 echo "test_func2 isn't callable from inside\n";
32 echo "test_func3 isn't callable from inside\n";
72 echo "test_func1 isn't callable from outside\n";
77 echo "test_func2 isn't callable from outside\n";
82 echo "test_func3 isn't callable from outside\n";
[all …]
H A Dclosure_043.phpt20 echo "Before binding", "\n";
21 $staticUnscoped(); echo "\n";
22 $staticScoped(); echo "\n";
24 echo "After binding, null scope, no instance", "\n";
26 $d = $staticScoped->bindTo(null, null); $d(); echo "\n";
28 echo "After binding, null scope, with instance", "\n";
32 echo "After binding, with scope, no instance", "\n";
34 $d = $staticScoped->bindTo(null, 'A'); $d(); echo "\n";
36 echo "After binding, with scope, with instance", "\n";
38 $d = $staticScoped->bindTo(new A, 'A'); $d(); echo "\n";
[all …]
H A Djump04.phpt6 echo "1: ok\n";
8 echo "4: ok\n";
10 echo "2: ok\n";
12 echo "3: ok\n";
15 echo "bug\n";
17 echo "bug\n";
/PHP-5.6/ext/standard/tests/strings/
H A Dtrim.phpt10 'ABC' === trim(" \\0\\t\\nABC \\0\\t\\n")
11 "ABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n")
12 " \\0\\t\\nABC" === rtrim(" \\0\\t\\nABC \\0\\t\\n")
13 " \\0\\t\\nABC \\0\\t\\n" === trim(" \\0\\t\\nABC \\0\\t\\n",'')
14 " \\0\\t\\nABC \\0\\t\\n" === ltrim(" \\0\\t\\nABC \\0\\t\\n",'')
15 " \\0\\t\\nABC \\0\\t\\n" === rtrim(" \\0\\t\\nABC \\0\\t\\n",'')
H A Dstrip_tags.phpt6 echo "\n";
8 echo "\n";
10 echo "\n";
12 echo "\n";
14 echo "\n";
16 echo "\n";
18 echo "\n";
/PHP-5.6/ext/mbstring/libmbfl/filters/
H A Dmbfilter_byte2.c93 int n; in mbfl_filt_conv_byte2be_wchar() local
97 n = (c & 0xff) << 8; in mbfl_filt_conv_byte2be_wchar()
98 filter->cache = n; in mbfl_filt_conv_byte2be_wchar()
101 n = (c & 0xff) | filter->cache; in mbfl_filt_conv_byte2be_wchar()
102 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2be_wchar()
116 int n; in mbfl_filt_conv_byte2le_wchar() local
120 n = c & 0xff; in mbfl_filt_conv_byte2le_wchar()
121 filter->cache = n; in mbfl_filt_conv_byte2le_wchar()
124 n = ((c & 0xff) << 8) | filter->cache; in mbfl_filt_conv_byte2le_wchar()
125 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2le_wchar()
/PHP-5.6/tests/lang/
H A D020.phpt11 echo "In branch 1\n";
14 echo "This doesn't work... :(\n";
17 echo "This works!\n";
20 echo "Hmmm, no worki\n";
23 echo "Inner default...\n";
27 echo "blah=$blah\n";
32 echo "In branch 2\n";
35 echo "In branch \$i\n";
38 echo "In branch 4\n";
41 echo "Hi, I'm default\n";
/PHP-5.6/ext/dom/tests/
H A DDOMDocument_strictErrorChecking_variation.phpt12 echo "Load document\n";
16 echo "See if strictErrorChecking is on\n";
19 echo "Should throw DOMException when strictErrorChecking is on\n";
23 echo "GOOD. DOMException thrown\n";
24 echo $e->getMessage() ."\n";
26 echo "OOPS. Other exception thrown\n";
30 echo "Turn strictErrorChecking off\n";
33 echo "See if strictErrorChecking is off\n";
40 echo "OOPS. DOMException thrown\n";
41 echo $e->getMessage() ."\n";
[all …]
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_get_client_stats_ps.phpt21 …printf("BEGINNING: rows_fetched_from_client_ps_unbuffered = %d\n", $stats['rows_fetched_from_clien…
22 …printf("BEGINNING: rows_fetched_from_client_ps_buffered = %d\n", $stats['rows_fetched_from_client_…
23 …printf("BEGINNING: rows_fetched_from_client_ps_cursor = %d\n", $stats['rows_fetched_from_client_ps…
26 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
33 printf("[002] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 printf("[003] Unbuffered rows got increased after buffered PS, expecting %d got %d.\n",
50 printf("[005] Buffered rows should be %d got %d.\n",
57 …printf("BUFFERED: rows_fetched_from_client_ps_cursor = %d\n", $stats['rows_fetched_from_client_ps_…
63 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
72 printf("[007] Unbuffered rows should be %d got %d.\n",
[all …]
H A Dmysqli_stmt_execute_stored_proc_next_result.phpt25 printf("[003] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
42 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
45 printf("[009] Results seem wrong, got %s, [%d] %s\n",
52 printf("[011] Next result: %s\n", (mysqli_next_result($link)) ? "yes" : "no");
58 printf("[013] [%d] %s\n", $link->errno, $link->error);
65 printf("[014] [%d] %s.\n", mysqli_errno($link), mysqli_error($link));
85 printf("[019] Results seem wrong, got %s, [%d] %s\n",
90 printf("[020] [%d] %s\n", $link->errno, $link->error);
98 printf("[022] Results seem wrong, got %s, [%d] %s\n",
107 printf("[024] [%d] %s\n", $link->errno, $link->error);
[all …]
H A Dmysqli_stmt_field_count.phpt17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[004] Prepare should fail for an empty statement\n");
31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
56 printf("[014] expected error - got ok\n");
[all …]
H A Dmysqli_stmt_reset.phpt23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[005] Expecting boolean/true, got %s/%s, [%d] %s\n",
56 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
84 printf("[018] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
87 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_info.phpt14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 printf("[004] Expecting null, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
37 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
43 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
58 printf("[014] Expecting null, got %s/%s\n", gettype($tmp), $tmp);
69 if (!fwrite($fp, b"100;'a';\n") ||
70 !fwrite($fp, b"101;'b';\n") ||
[all …]
H A Dmysqli_stmt_close.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] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
29 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
35 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
57 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
63 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_data_seek.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] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
34 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[009] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
61 printf("[013] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
69 printf("[015] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_store_result.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 NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
32 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[009] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
49 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
68 printf("[015] unbuffered '%s'/%s, buffered '%s'/%s\n",
71 printf("[016] unbuffered '%s'/%s, buffered '%s'/%s\n",
[all …]
/PHP-5.6/ext/gd/tests/
H A Dcolorexact.phpt5 if (!function_exists('imagecolorexact')) die("skip gd extension not available\n");
14 printf("%X\n", $c);
15 printf("%X\n", $c2);
24 echo imagecolorexact($im, 255,0,255) . "\n";
25 echo imagecolorexact($im, 255,200,0) . "\n";
26 echo imagecolorexactalpha($im, 255,200,0,100) . "\n";
30 echo imagecolorexact($im, 12,12,12) . "\n";
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.6/ext/mbstring/tests/
H A Dmb_convert_encoding_basic.phpt27 echo "\n-- Convert to JIS --\n";
28 echo "JIS encoded string in base64:\n";
30 echo "Converted Strings:\n";
35 echo "\n-- Convert to EUC-JP --\n";
36 echo "EUC-JP encoded string in base64:\n";
38 echo "Converted Strings:\n";
43 echo "\n-- Convert to SJIS --\n";
44 echo "SJIS encoded string in base64:\n";
46 echo "Converted Strings:\n";
51 echo "\n-- Convert to UTF-8 --\n";
[all …]
/PHP-5.6/ext/standard/tests/dir/
H A Dopendir_variation4.phpt14 echo "*** Testing opendir() : usage variation ***\n";
28 echo "\n-- \$path = './level_one': --\n";
33 echo "\n-- \$path = 'level_one/level_two': --\n";
38 echo "\n-- \$path = '..': --\n";
42 echo "\n-- \$path = 'level_two', '.': --\n";
47 echo "\n-- \$path = '../': --\n";
51 echo "\n-- \$path = './': --\n";
56 echo "\n-- \$path = '../../'level_one': --\n";
/PHP-5.6/ext/phar/tests/zip/
H A Dphar_setdefaultstub.phpt13 $phar['a.php'] = '<php echo "this is a\n"; ?>';
14 $phar['b.php'] = '<php echo "this is b\n"; ?>';
15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>');
19 echo "============================================================================\n";
20 echo "============================================================================\n";
26 echo $e->getMessage(). "\n";
31 echo "============================================================================\n";
32 echo "============================================================================\n";
38 echo $e->getMessage(). "\n";
50 echo $e->getMessage(). "\n";
[all …]
/PHP-5.6/ext/phar/tests/tar/
H A Dphar_setdefaultstub.phpt13 $phar['a.php'] = '<php echo "this is a\n"; ?>';
14 $phar['b.php'] = '<php echo "this is b\n"; ?>';
15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>');
19 echo "============================================================================\n";
20 echo "============================================================================\n";
26 echo $e->getMessage(). "\n";
31 echo "============================================================================\n";
32 echo "============================================================================\n";
38 echo $e->getMessage(). "\n";
50 echo $e->getMessage(). "\n";
[all …]
/PHP-5.6/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";
/PHP-5.6/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 …]

Completed in 104 milliseconds

1...<<11121314151617181920>>...363