/PHP-8.0/ext/date/tests/ |
H A D | strftime_basic.phpt | 2 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 ***
|
H A D | bug33532.phpt | 2 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 D | strftime_variation8.phpt | 2 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 --
|
H A D | strftime_variation11.phpt | 2 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 --
|
H A D | strftime_variation17.phpt | 2 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 --
|
H A D | strftime_variation12.phpt | 2 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 --
|
H A D | strftime_variation18.phpt | 2 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 --
|
H A D | strftime_variation19.phpt | 2 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 ***
|
H A D | strftime_variation9.phpt | 2 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 ***
|
H A D | strftime_variation4.phpt | 2 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 ***
|
H A D | strftime_variation20.phpt | 2 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 \*\*\*
|
H A D | strftime_variation10.phpt | 2 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 ***
|
H A D | strftime_variation13.phpt | 2 Test strftime() function : usage variation - Checking date related formats which was not supported … 5 echo "*** Testing strftime() : usage variation ***\n"; 24 var_dump( strftime($value) ); 25 var_dump( strftime($value, $timestamp) ); 30 *** Testing strftime() : usage variation ***
|
H A D | strftime_variation21.phpt | 2 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 ***
|
H A D | strftime_variation3.phpt | 2 Test strftime() function : usage variation - Passing week related format strings to format argument. 5 echo "*** Testing strftime() : usage variation ***\n"; 22 var_dump( strftime($value) ); 23 var_dump( strftime($value, $timestamp) ); 28 *** Testing strftime() : usage variation ***
|
H A D | strftime_variation5.phpt | 2 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 ***
|
H A D | strftime_variation14.phpt | 2 Test strftime() function : usage variation - Checking date related formats which are supported othe… 11 echo "*** Testing strftime() : usage variation ***\n"; 30 var_dump( strftime($value) ); 31 var_dump( strftime($value, $timestamp) ); 36 *** Testing strftime() : usage variation ***
|
H A D | strftime_variation7.phpt | 2 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 ***
|
H A D | strftime_variation15.phpt | 2 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 ***
|
H A D | strftime_variation16.phpt | 2 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 ***
|
H A D | 009.phpt | 2 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));
|
H A D | 009_win32.phpt | 2 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));
|
H A D | strftime_variation6.phpt | 2 Test strftime() function : usage variation - Passing time related format strings to format argument. 5 echo "*** Testing strftime() : usage variation ***\n"; 26 var_dump( strftime($value) ); 27 var_dump( strftime($value, $timestamp) ); 32 *** Testing strftime() : usage variation ***
|
H A D | bug65184.phpt | 2 Test bug #65184 strftime() returns insufficient-length string under multibyte locales 15 $s = strftime('%A', 1372884126); 22 echo strlen(strftime('%A')), "\n";
|
/PHP-8.0/ext/standard/tests/time/ |
H A D | strptime_basic.phpt | 9 if (!strftime('%Z')) die('skip strftime does not support %Z'); 21 $str = strftime("%r %B%e %Y %Z", $tstamp); 24 $str = strftime("%T %D", $tstamp); 27 $str = strftime("%A %B %e %R", $tstamp);
|