Home
last modified time | relevance | path

Searched refs:gmstrftime (Results 1 – 25 of 28) sorted by relevance

12

/PHP-7.3/ext/date/tests/
H A Dgmstrftime_error.phpt2 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 Dgmstrftime_basic.phpt2 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 Dgmstrftime_variation11.phpt2 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 Dgmstrftime_variation12.phpt2 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 Dgmstrftime_variation17.phpt2 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 Dgmstrftime_variation18.phpt2 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 Dgmstrftime_variation2.phpt11 /* 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 Dgmstrftime_variation8.phpt2 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 Dgmstrftime_variation1.phpt2 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 D009.phpt2 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 Dgmstrftime_variation4.phpt2 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 Dgmstrftime_variation19.phpt2 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 Dgmstrftime_variation20.phpt2 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 Dgmstrftime_variation10.phpt2 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 Dgmstrftime_variation9.phpt2 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 Dgmstrftime_variation13.phpt2 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 Dgmstrftime_variation3.phpt2 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 Dgmstrftime_variation5.phpt2 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 Dgmstrftime_variation14.phpt2 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 D009_win32.phpt2 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 Dgmstrftime_variation16.phpt2 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 Dgmstrftime_variation21.phpt2 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 Dgmstrftime_variation6.phpt2 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 Dgmstrftime_variation7.phpt2 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 Dgmstrftime_variation15.phpt2 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 ***

Completed in 25 milliseconds

12