/PHP-7.3/ext/date/tests/ |
H A D | gmstrftime_error.phpt | 2 Test gmstrftime() function : error conditions 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : error conditions ***\n"; 14 echo "\n-- Testing gmstrftime() function with Zero arguments --\n"; 15 var_dump( gmstrftime() ); 17 //Test gmstrftime with one more than the expected number of arguments 22 var_dump( gmstrftime($format, $timestamp, $extra_arg) ); 27 *** Testing gmstrftime() : error conditions *** 29 -- Testing gmstrftime() function with Zero arguments -- 31 Warning: gmstrftime() expects at least 1 parameter, 0 given in %s on line %d [all …]
|
H A D | gmstrftime_basic.phpt | 2 Test gmstrftime() function : basic functionality 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : basic functionality ***\n"; 17 // Calling gmstrftime() with all possible arguments 18 var_dump( gmstrftime($format, $timestamp) ); 20 // Calling gmstrftime() with mandatory arguments 21 var_dump( gmstrftime($format) ); 26 *** Testing gmstrftime() : basic functionality ***
|
H A D | gmstrftime_variation11.phpt | 2 Test gmstrftime() function : usage variation - Checking month related formats which was not support… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 32 *** Testing gmstrftime() : usage variation *** 34 -- Testing gmstrftime() function with Abbreviated month name format %h --
|
H A D | gmstrftime_variation12.phpt | 2 Test gmstrftime() function : usage variation - Checking month related formats which are supported o… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 32 *** Testing gmstrftime() : usage variation *** 34 -- Testing gmstrftime() function with Abbreviated month name format %h --
|
H A D | gmstrftime_variation17.phpt | 2 Test gmstrftime() function : usage variation - Checking day related formats which was not supported… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 24 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 32 *** Testing gmstrftime() : usage variation *** 34 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
|
H A D | gmstrftime_variation18.phpt | 2 Test gmstrftime() function : usage variation - Checking day related formats which are supported oth… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 24 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 32 *** Testing gmstrftime() : usage variation *** 34 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
|
H A D | gmstrftime_variation2.phpt | 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 100 var_dump( gmstrftime($format, $value) ); 106 *** Testing gmstrftime() : usage variation *** 116 Warning: gmstrftime() expects parameter 2 to be int, float given in %s on line %d 121 Warning: gmstrftime() expects parameter 2 to be int, float given in %s on line %d 129 Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d 134 Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d 139 Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d 144 Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d [all …]
|
H A D | gmstrftime_variation8.phpt | 2 Test gmstrftime() function : usage variation - Passing literal related strings to format argument. 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 27 var_dump( gmstrftime($value) ); 28 var_dump( gmstrftime($value, $timestamp) ); 34 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation1.phpt | 2 Test gmstrftime() function : usage variation - Passing unexpected values to first argument 'format'. 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 92 var_dump( gmstrftime($value) ); 93 var_dump( gmstrftime($value, $timestamp) ); 99 *** Testing gmstrftime() : usage variation *** 139 Warning: gmstrftime() expects parameter 1 to be string, array given in %s on line %d 142 Warning: gmstrftime() expects parameter 1 to be string, array given in %s on line %d 147 Warning: gmstrftime() expects parameter 1 to be string, array given in %s on line %d 150 Warning: gmstrftime() expects parameter 1 to be string, array given in %s on line %d [all …]
|
H A D | 009.phpt | 2 strftime() and gmstrftime() tests 22 var_dump(gmstrftime()); 24 var_dump(gmstrftime("")); 25 var_dump(gmstrftime("%a %A %b %B %c %C %d %D %e %g %G %h %H %I %j %m %M %n %p %r %R %S %t %T %u %U … 26 var_dump(gmstrftime("%%q %%a", $t)); 27 var_dump(gmstrftime("%q", $t)); 28 var_dump(gmstrftime("blah", $t)); 42 Warning: gmstrftime() expects at least 1 parameter, 0 given in %s on line %d
|
H A D | gmstrftime_variation4.phpt | 2 Test gmstrftime() function : usage variation - Passing month related format strings to format argum… 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 27 var_dump( gmstrftime($value) ); 28 var_dump( gmstrftime($value, $timestamp) ); 34 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation19.phpt | 2 Test gmstrftime() function : usage variation - Checking newline and tab formats which was not suppo… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 34 var_dump( gmstrftime($value) ); 35 var_dump( gmstrftime($value, $timestamp) ); 41 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation20.phpt | 2 Test gmstrftime() function : usage variation - Checking newline and tab formats which are supported… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 34 var_dump( gmstrftime($value) ); 35 var_dump( gmstrftime($value, $timestamp) ); 41 \*\*\* Testing gmstrftime\(\) : usage variation \*\*\*
|
H A D | gmstrftime_variation10.phpt | 2 Test gmstrftime() function : usage variation - Checking week related formats which are supported ot… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 34 var_dump( gmstrftime($value) ); 35 var_dump( gmstrftime($value, $timestamp) ); 41 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation9.phpt | 2 Test gmstrftime() function : usage variation - Checking week related formats which was not supporte… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 34 var_dump( gmstrftime($value) ); 35 var_dump( gmstrftime($value, $timestamp) ); 41 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation13.phpt | 2 Test gmstrftime() function : usage variation - Checking date related formats which was not supporte… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 36 var_dump( gmstrftime($value) ); 37 var_dump( gmstrftime($value, $timestamp) ); 43 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation3.phpt | 2 Test gmstrftime() function : usage variation - Passing week related format strings to format argume… 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 28 var_dump( gmstrftime($value) ); 29 var_dump( gmstrftime($value, $timestamp) ); 35 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation5.phpt | 2 Test gmstrftime() function : usage variation - Passing date related format strings to format argume… 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 31 var_dump( gmstrftime($value) ); 32 var_dump( gmstrftime($value, $timestamp) ); 38 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation14.phpt | 2 Test gmstrftime() function : usage variation - Checking date related formats which are supported ot… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 36 var_dump( gmstrftime($value) ); 37 var_dump( gmstrftime($value, $timestamp) ); 43 *** Testing gmstrftime() : usage variation ***
|
H A D | 009_win32.phpt | 2 strftime() and gmstrftime() tests 28 var_dump(gmstrftime()); 30 var_dump(gmstrftime("")); 32 var_dump(gmstrftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t)); 34 var_dump(gmstrftime("%%q %%a", $t)); 36 var_dump(gmstrftime("blah", $t)); 50 Warning: gmstrftime() expects at least 1 parameter, 0 given in %s on line %d
|
H A D | gmstrftime_variation16.phpt | 2 Test gmstrftime() function : usage variation - Checking time related formats which are supported ot… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 35 var_dump( gmstrftime($value) ); 36 var_dump( gmstrftime($value, $timestamp) ); 42 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation21.phpt | 2 Test gmstrftime() function : usage variation - Checking Preferred date and time representation on W… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 35 var_dump( gmstrftime($value) ); 36 var_dump( gmstrftime($value, $timestamp) ); 42 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation6.phpt | 2 Test gmstrftime() function : usage variation - Passing time related format strings to format argume… 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 31 var_dump( gmstrftime($value) ); 32 var_dump( gmstrftime($value, $timestamp) ); 38 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation7.phpt | 2 Test gmstrftime() function : usage variation - Passing day related format strings to format argumen… 5 /* Prototype : string gmstrftime(string format [, int timestamp]) 11 echo "*** Testing gmstrftime() : usage variation ***\n"; 29 var_dump( gmstrftime($value) ); 30 var_dump( gmstrftime($value, $timestamp) ); 36 *** Testing gmstrftime() : usage variation ***
|
H A D | gmstrftime_variation15.phpt | 2 Test gmstrftime() function : usage variation - Checking time related formats which was not supporte… 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 17 echo "*** Testing gmstrftime() : usage variation ***\n"; 35 var_dump( gmstrftime($value) ); 36 var_dump( gmstrftime($value, $timestamp) ); 42 *** Testing gmstrftime() : usage variation ***
|