Home
last modified time | relevance | path

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

12345678910>>...338

/PHP-7.4/ext/date/tests/
H A Dbug17988.phpt7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n";
12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n";
13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n";
14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n";
15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n";
16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n";
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_variation52.phpt10 echo "*** Testing sprintf() : with typical format strings ***\n";
16 echo"\n-- Testing for '%%%.2f' as the format parameter --\n";
19 echo"\n-- Testing for '%%' as the format parameter --\n";
22 echo"\n-- Testing for precision value more than maximum --\n";
25 echo"\n-- Testing for invalid width(-15) specifier --\n";
28 echo"\n-- Testing for '%X' as the format parameter --\n";
31 echo"\n-- Testing for multiple format parameters --\n";
32 var_dump(sprintf("%d %s %d\n", $tempnum, $tempstring, $tempnum));
34 echo"\n-- Testing for excess of mixed type arguments --\n";
H A Dhtmlspecialchars_decode_variation7.phpt21 echo "$t\tDECODED\n";
25 echo "\n*** XHTML 1.0/ENT_QUOTES ***\n";
32 echo "$t\tDECODED\n";
36 echo "\n*** HTML5/ENT_QUOTES ***\n";
43 echo "$t\tDECODED\n";
47 echo "\n*** XML 1.0/ENT_QUOTES ***\n";
54 echo "$t\tDECODED\n";
58 echo "\n*** HTML5/ENT_NOQUOTES ***\n";
65 echo "$t\tDECODED\n";
69 echo "\n*** HTML5/ENT_COMPAT ***\n";
[all …]
H A Dexplode_variation6.phpt11 echo "*** Testing explode() function: misc tests ***\n";
15 echo "\n-- positive limit with null separator --\n";
18 echo "\n-- negative limit (since PHP 5.1) with null separator --\n";
21 echo "\n-- unknown string --\n";
24 echo "\n-- limit = 0 --\n";
27 echo "\n-- limit = -1 --\n";
30 echo "\n-- large limit = -100 --\n";
H A Dprintf_basic1.phpt10 echo "*** Testing printf() : basic functionality - using string format ***\n";
21 echo "\n-- Calling printf() with no arguments --\n";
23 echo "\n";
26 echo "\n-- Calling printf() with one arguments --\n";
28 echo "\n";
31 echo "\n-- Calling printf() with two arguments --\n";
33 echo "\n";
37 echo "\n-- Calling printf() with string three arguments --\n";
39 echo "\n";
H A Dprintf_basic7.phpt16 echo "*** Testing printf() : basic functionality - using unsigned format ***\n";
28 echo "\n-- Calling printf() with no arguments --\n";
30 echo "\n";
33 echo "\n-- Calling printf() with one arguments --\n";
35 echo "\n";
38 echo "\n-- Calling printf() with two arguments --\n";
40 echo "\n";
43 echo "\n-- Calling printf() with three arguments --\n";
45 echo "\n";
/PHP-7.4/ext/oci8/tests/
H A Dlob_031.phpt38 echo " 1. ".$row[0]->tell(). "\n";
41 echo " 2. ".$row[0]->tell(). "\n";
44 echo " 3. ".$row[0]->tell(). "\n";
47 echo " 4. ".$row[0]->tell(). "\n";
50 echo " 5. ".$row[0]->tell(). "\n";
54 echo " 6. ".$row[0]->tell(). "\n";
57 echo " 8. ".$row[0]->tell(). "\n";
61 echo " 9. ".$row[0]->tell(). "\n";
64 echo "10. ".$row[0]->tell(). "\n";
67 echo "11. ".$row[0]->tell(). "\n";
[all …]
/PHP-7.4/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";
H A Djdtogregorian.phpt7 echo jdtogregorian(0). "\n";
8 echo jdtogregorian(1). "\n";
9 echo jdtogregorian(2298874). "\n";
10 echo jdtogregorian(2299151). "\n";
11 echo jdtogregorian(2440588). "\n";
12 echo jdtogregorian(2816423). "\n";
H A Djdtojulian.phpt7 echo jdtojulian(0). "\n";
8 echo jdtojulian(1). "\n";
9 echo jdtojulian(2298874). "\n";
10 echo jdtojulian(2299151). "\n";
11 echo jdtojulian(2440588). "\n";
12 echo jdtojulian(2816423). "\n";
H A Djuliantojd.phpt7 echo juliantojd( 0, 0, 0). "\n";
8 echo juliantojd( 1, 1, 1582). "\n";
9 echo juliantojd(10, 5, 1582). "\n";
10 echo juliantojd( 1, 1, 1970). "\n";
11 echo juliantojd( 1, 1, 2999). "\n";
12 echo juliantojd( 1, 1, -4713). "\n";
/PHP-7.4/ext/spl/tests/
H A Diterator_013.phpt6 echo "===Empty===\n";
12 echo "$key=>$val\n";
15 echo "===Append===\n";
21 echo "$key=>$val\n";
24 echo "===Rewind===\n";
28 echo "$key=>$val\n";
31 echo "===Append===\n";
37 echo "$key=>$val\n";
40 echo "===Rewind===\n";
44 echo "$key=>$val\n";
/PHP-7.4/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt8 echo 'Cannot access privateInstance method statically'."\n";
11 echo "Test failed to fail and return was : ".var_export($fn, true)."\n";
33 echo 'Cannot access privateInstance method'."\n";
45 echo 'SubClass cannot access private instance method'."\n";
48 echo "Test failed to fail, closure is : ".var_export($fn, true)."\n";
57 echo 'Cannot access private static function of instance'."\n";
69 echo 'Cannot access private static method statically'."\n";
93 echo 'Non-existent method should fail'."\n";
105 echo 'Non-existent class should fail'."\n";
117 echo 'Non-existent function should fail'."\n";
[all …]
/PHP-7.4/ext/hash/tests/
H A Dmd2.phpt5 echo hash('md2', '') . "\n";
6 echo hash('md2', 'a') . "\n";
7 echo hash('md2', 'abc') . "\n";
8 echo hash('md2', 'message digest') . "\n";
9 echo hash('md2', 'abcdefghijklmnopqrstuvwxyz') . "\n";
10 echo hash('md2', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
11 …('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
H A Dmd4.phpt6 echo hash('md4', '') . "\n";
7 echo hash('md4', 'a') . "\n";
8 echo hash('md4', 'abc') . "\n";
9 echo hash('md4', 'message digest') . "\n";
10 echo hash('md4', 'abcdefghijklmnopqrstuvwxyz') . "\n";
11 echo hash('md4', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
12 …('md4', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
/PHP-7.4/ext/readline/tests/
H A Dbug77812-libedit.phpt16 fwrite($pipes[0], "echo <<<FOO\n bar\n FOO;\n");
17 fwrite($pipes[0], "print(<<<FOO\nxx\nFOO);\n");
18 fwrite($pipes[0], "echo <<<FOO\n xxx\n FOO;\nFOO\n;\n");
19 fwrite($pipes[0], "echo <<<FOO\nFOOL\nFOO\n,1;\n");
20 fwrite($pipes[0], "echo <<<FOO\nFOO4\nFOO\n,2;\n");
/PHP-7.4/ext/enchant/tests/
H A Dbroker_free_02.phpt8 if(!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
18 echo("OK\n");
22 echo("OK\n");
31 echo("OK\n");
34 echo("OK\n");
37 echo("broker free failed\n");
40 echo("broker dict free failed\n");
43 echo("dict add to personal failed\n");
46 echo("broker request dict failed\n");
49 echo("init failed\n");
[all …]
/PHP-7.4/Zend/tests/try/
H A Dtry_finally_019.phpt6 public $n = 0;
7 function __construct($n) {
8 $this->n = $n;
11 echo "destruct" . $this->n . "\n";
26 echo "finally1\n";
31 echo "finally2\n";
/PHP-7.4/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-7.4/tests/classes/
H A D__call_006.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-7.4/sapi/cli/tests/
H A Dbug78323.phpt24 echo $lines[0], "\n",
25 $lines[1], "\n",
26 "Done: $exitCode\n\n";
36 echo $lines[0], "\n",
37 $lines[1], "\n",
38 "Done: $exitCode\n\n";
48 echo $lines[0], "\n",
49 $lines[1], "\n",
50 "Done: $exitCode\n\n";
60 echo $lines[0], "\n",
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_real_escape_string.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] Expecting \\\\, got %s\n", $tmp);
31 printf("[005] Expecting \", got %s\n", $tmp);
34 printf("[006] Expecting ', got %s\n", $tmp);
36 if ("\\n" !== ($tmp = mysqli_real_escape_string($link, "\n")))
37 printf("[007] Expecting \\n, got %s\n", $tmp);
40 printf("[008] Expecting \\r, got %s\n", $tmp);
43 printf("[009] Expecting %s, got %s\n", "foo\\0bar", $tmp);
[all …]
H A Dmysqli_class_mysqli_driver_interface.phpt16 printf("Parent class:\n");
19 printf("\nMethods:\n");
30 printf("Dumping list of missing methods.\n");
34 printf("Dumping list of unexpected methods.\n");
38 printf("ok\n");
40 printf("\nClass variables:\n");
44 printf("%s\n", $var);
46 printf("\nObject variables:\n");
49 printf("%s\n", $var);
51 printf("\nMagic, magic properties:\n");
[all …]
/PHP-7.4/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-7.4/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 …]

Completed in 35 milliseconds

12345678910>>...338