Home
last modified time | relevance | path

Searched refs:strftime (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.2/ext/date/tests/
H A Dstrftime_basic.phpt2 Test strftime() function : basic functionality
5 echo "*** Testing strftime() : basic functionality ***\n";
12 // Calling strftime() with all possible arguments
13 var_dump( strftime($format, $timestamp) );
15 // Calling strftime() with mandatory arguments
16 var_dump( strftime($format) );
20 *** Testing strftime() : basic functionality ***
22 Deprecated: Function strftime() is deprecated in %s on line %d
25 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation8.phpt2 Test strftime() function : usage variation - Passing literal related strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
13 echo "\n-- Testing strftime() function with a literal % character to format --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
19 *** Testing strftime() : usage variation ***
21 -- Testing strftime() function with a literal % character to format --
23 Deprecated: Function strftime() is deprecated in %s on line %d
26 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation11.phpt2 Test strftime() function : usage variation - Checking month related formats which was not supported…
5 echo "*** Testing strftime() : usage variation ***\n";
12 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
19 *** Testing strftime() : usage variation ***
21 -- Testing strftime() function with Abbreviated month name format %h --
23 Deprecated: Function strftime() is deprecated in %s on line %d
26 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dbug33532.phpt2 Bug #33532 (Different output for strftime() and date())
8 if(PHP_OS == 'Darwin' || defined('PHP_WINDOWS_VERSION_MAJOR')) die("skip strftime uses system TZ on…
9 if (!@strftime('%Z')) die('skip strftime does not support %Z');
17 print "Should strftime==datestr? Strftime seems to assume GMT tStamp.\n";
21 print "strftime " . strftime("%r %B%e %Y %Z %z", $tStamp) . "\n";
30 print "strftime " . strftime("%r %B%e %Y %Z %z", $tStamp) . "\n";
36 Should strftime==datestr? Strftime seems to assume GMT tStamp.
38 strftime 10:00:00 AM July 1 2005 UTC +0000
43 strftime 10:00:00 AM July 1 2005 AEST +1000
H A Dstrftime_variation17.phpt2 Test strftime() function : usage variation - Checking day related formats which was not supported o…
5 echo "*** Testing strftime() : usage variation ***\n";
12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
18 *** Testing strftime() : usage variation ***
20 -- Testing strftime() function with Day of the month as decimal single digit format --
22 Deprecated: Function strftime() is deprecated in %s on line %d
25 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation13.phpt5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
34 Deprecated: Function strftime() is deprecated in %s on line %d
37 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
45 Deprecated: Function strftime() is deprecated in %s on line %d
50 Deprecated: Function strftime() is deprecated in %s on line %d
53 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation3.phpt5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
32 Deprecated: Function strftime() is deprecated in %s on line %d
35 Deprecated: Function strftime() is deprecated in %s on line %d
40 Deprecated: Function strftime() is deprecated in %s on line %d
43 Deprecated: Function strftime() is deprecated in %s on line %d
48 Deprecated: Function strftime() is deprecated in %s on line %d
51 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation6.phpt5 echo "*** Testing strftime() : usage variation ***\n";
26 var_dump( strftime($value) );
27 var_dump( strftime($value, $timestamp) );
32 *** Testing strftime() : usage variation ***
36 Deprecated: Function strftime() is deprecated in %s on line %d
39 Deprecated: Function strftime() is deprecated in %s on line %d
44 Deprecated: Function strftime() is deprecated in %s on line %d
47 Deprecated: Function strftime() is deprecated in %s on line %d
52 Deprecated: Function strftime() is deprecated in %s on line %d
55 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation12.phpt2 Test strftime() function : usage variation - Checking month related formats which are supported oth…
11 echo "*** Testing strftime() : usage variation ***\n";
18 echo "\n-- Testing strftime() function with Abbreviated month name format %h --\n";
20 var_dump( strftime($format) );
21 var_dump( strftime($format, $timestamp) );
25 *** Testing strftime() : usage variation ***
27 -- Testing strftime() function with Abbreviated month name format %h --
29 Deprecated: Function strftime() is deprecated in %s on line %d
32 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation18.phpt2 Test strftime() function : usage variation - Checking day related formats which are supported other…
11 echo "*** Testing strftime() : usage variation ***\n";
18 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
20 var_dump( strftime($format) );
21 var_dump( strftime($format, $timestamp) );
24 *** Testing strftime() : usage variation ***
26 -- Testing strftime() function with Day of the month as decimal single digit format --
28 Deprecated: Function strftime() is deprecated in %s on line %d
31 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation4.phpt2 Test strftime() function : usage variation - Passing month related format strings to format argumen…
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
32 Deprecated: Function strftime() is deprecated in %s on line %d
35 Deprecated: Function strftime() is deprecated in %s on line %d
40 Deprecated: Function strftime() is deprecated in %s on line %d
43 Deprecated: Function strftime() is deprecated in %s on line %d
48 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation14.phpt11 echo "*** Testing strftime() : usage variation ***\n";
30 var_dump( strftime($value) );
31 var_dump( strftime($value, $timestamp) );
36 *** Testing strftime() : usage variation ***
40 Deprecated: Function strftime() is deprecated in %s on line %d
43 Deprecated: Function strftime() is deprecated in %s on line %d
48 Deprecated: Function strftime() is deprecated in %s on line %d
51 Deprecated: Function strftime() is deprecated in %s on line %d
56 Deprecated: Function strftime() is deprecated in %s on line %d
59 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation19.phpt2 Test strftime() function : usage variation - Checking newline and tab formats which was not support…
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
32 Deprecated: Function strftime() is deprecated in %s on line %d
36 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
45 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation15.phpt2 Test strftime() function : usage variation - Checking time related formats which was not supported …
5 echo "*** Testing strftime() : usage variation ***\n";
23 var_dump( strftime($value) );
24 var_dump( strftime($value, $timestamp) );
29 *** Testing strftime() : usage variation ***
33 Deprecated: Function strftime() is deprecated in %s on line %d
36 Deprecated: Function strftime() is deprecated in %s on line %d
41 Deprecated: Function strftime() is deprecated in %s on line %d
44 Deprecated: Function strftime() is deprecated in %s on line %d
49 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation21.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation on Win…
5 echo "*** Testing strftime() : usage variation ***\n";
23 var_dump( strftime($value) );
24 var_dump( strftime($value, $timestamp) );
29 *** Testing strftime() : usage variation ***
33 Deprecated: Function strftime() is deprecated in %s on line %d
36 Deprecated: Function strftime() is deprecated in %s on line %d
41 Deprecated: Function strftime() is deprecated in %s on line %d
44 Deprecated: Function strftime() is deprecated in %s on line %d
49 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation5.phpt2 Test strftime() function : usage variation - Passing date related format strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
34 Deprecated: Function strftime() is deprecated in %s on line %d
37 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
45 Deprecated: Function strftime() is deprecated in %s on line %d
50 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation7.phpt2 Test strftime() function : usage variation - Passing day related format strings to format argument.
5 echo "*** Testing strftime() : usage variation ***\n";
24 var_dump( strftime($value) );
25 var_dump( strftime($value, $timestamp) );
30 *** Testing strftime() : usage variation ***
34 Deprecated: Function strftime() is deprecated in %s on line %d
37 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
45 Deprecated: Function strftime() is deprecated in %s on line %d
50 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation9.phpt2 Test strftime() function : usage variation - Checking week related formats which was not supported …
5 echo "*** Testing strftime() : usage variation ***\n";
22 var_dump( strftime($value) );
23 var_dump( strftime($value, $timestamp) );
28 *** Testing strftime() : usage variation ***
32 Deprecated: Function strftime() is deprecated in %s on line %d
35 Deprecated: Function strftime() is deprecated in %s on line %d
40 Deprecated: Function strftime() is deprecated in %s on line %d
43 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation16.phpt2 Test strftime() function : usage variation - Checking time related formats which are supported othe…
11 echo "*** Testing strftime() : usage variation ***\n";
29 var_dump( strftime($value) );
30 var_dump( strftime($value, $timestamp) );
35 *** Testing strftime() : usage variation ***
39 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
47 Deprecated: Function strftime() is deprecated in %s on line %d
50 Deprecated: Function strftime() is deprecated in %s on line %d
55 Deprecated: Function strftime() is deprecated in %s on line %d
[all …]
H A Dstrftime_variation10.phpt2 Test strftime() function : usage variation - Checking week related formats which are supported othe…
11 echo "*** Testing strftime() : usage variation ***\n";
28 var_dump( strftime($value) );
29 var_dump( strftime($value, $timestamp) );
34 *** Testing strftime() : usage variation ***
38 Deprecated: Function strftime() is deprecated in %s on line %d
41 Deprecated: Function strftime() is deprecated in %s on line %d
46 Deprecated: Function strftime() is deprecated in %s on line %d
49 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation20.phpt2 Test strftime() function : usage variation - Checking newline and tab formats which are supported o…
11 echo "*** Testing strftime() : usage variation ***\n";
28 var_dump( strftime($value) );
29 var_dump( strftime($value, $timestamp) );
34 *** Testing strftime() : usage variation ***
38 Deprecated: Function strftime() is deprecated in %s on line %d
42 Deprecated: Function strftime() is deprecated in %s on line %d
48 Deprecated: Function strftime() is deprecated in %s on line %d
51 Deprecated: Function strftime() is deprecated in %s on line %d
H A D009.phpt2 strftime() and gmstrftime() tests
13 var_dump(strftime(""));
14 var_dump(strftime("%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 %V…
15 var_dump(strftime("%%q %%a", $t));
16 var_dump(strftime("blah", $t));
26 Deprecated: Function strftime() is deprecated in %s on line %d
29 Deprecated: Function strftime() is deprecated in %s on line %d
33 Deprecated: Function strftime() is deprecated in %s on line %d
36 Deprecated: Function strftime() is deprecated in %s on line %d
H A D009_win32.phpt2 strftime() and gmstrftime() tests
17 var_dump(strftime(""));
19 var_dump(strftime("%a %A %b %B %c %d %H %I %j %m %M %p %S %U %W %w %x %X %y %Y %Z %z %%", $t));
21 var_dump(strftime("%%q %%a", $t));
23 var_dump(strftime("blah", $t));
38 Deprecated: Function strftime() is deprecated in %s on line %d
41 Deprecated: Function strftime() is deprecated in %s on line %d
44 Deprecated: Function strftime() is deprecated in %s on line %d
47 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dbug65371.phpt11 echo strftime($str), "\n";
13 echo bin2hex(strftime($str));
22 Deprecated: Function strftime() is deprecated in %s on line %d
26 Deprecated: Function strftime() is deprecated in %s on line %d
H A Dstrftime_variation22.phpt2 Test strftime() function : usage variation - Checking Preferred date and time representation other …
14 echo "*** Testing strftime() : usage variation ***\n";
33 var_dump( strftime($value, $timestamp) );
38 *** Testing strftime() : usage variation ***
42 Deprecated: Function strftime() is deprecated in %s on line %d
47 Deprecated: Function strftime() is deprecated in %s on line %d
52 Deprecated: Function strftime() is deprecated in %s on line %d

Completed in 122 milliseconds

12