Searched refs:strptime (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/standard/tests/time/ |
H A D | strptime_error.phpt | 5 if (!function_exists('strptime')) { 6 echo "SKIP strptime function not available in build"; 14 echo "*** Testing strptime() : error conditions ***\n"; 16 echo "\n-- Testing strptime() function on failure --\n"; 18 var_dump( strptime('foo', $format) ); 22 *** Testing strptime() : error conditions *** 24 -- Testing strptime() function on failure -- 26 Deprecated: Function strptime() is deprecated since 8.2, use date_parse_from_format() (for locale-i…
|
H A D | strptime_basic.phpt | 2 Test strptime() function : basic functionality 5 if (!function_exists('strptime')) { 6 die("skip - strptime() function not available in this build"); 9 die("skip strptime() behaves differently on Darwin/BSD"); 18 echo "*** Testing strptime() : basic functionality ***\n"; 24 var_dump(strptime($str, '%H:%M:%S %p %B %d %Y')); 27 var_dump(strptime($str, '%H:%M:%S %m/%d/%y')); 30 var_dump(strptime($str, '%A %B %e %R')); 35 *** Testing strptime() : basic functionality *** 39 Deprecated: Function strptime() is deprecated since 8.2, use date_parse_from_format() (for locale-i… [all …]
|
H A D | strptime_parts.phpt | 2 Test strptime() function : basic functionality 5 if (!function_exists('strptime')) { 6 die("skip - strptime() function not available in this build"); 16 echo "*** Testing strptime() : basic functionality ***\n"; 22 $res = strptime($str, '%H:%M:%S %p %B %d %Y %Z'); 31 $res = strptime($str, '%H:%M:%S %m/%d/%y'); 40 $res = strptime($str, '%A %B %e %R'); 51 *** Testing strptime() : basic functionality *** 55 Deprecated: Function strptime() is deprecated since 8.2, use date_parse_from_format() (for locale-i… 65 Deprecated: Function strptime() is deprecated since 8.2, use date_parse_from_format() (for locale-i… [all …]
|
H A D | bug38524.phpt | 2 Bug #38524 (strptime() does not initialize the internal date storage structure) 5 if (!function_exists('strptime')) echo "SKIP"; 7 die("skip strptime() behaves differently on FreeBSD"); 12 var_dump(strptime('2006-08-20', '%Y-%m-%d')); 15 Deprecated: Function strptime() is deprecated since 8.2, use date_parse_from_format() (for locale-i…
|
/php-src/ext/standard/ |
H A D | datetime.c | 67 char *strptime(const char *s, const char *format, struct tm *tm); 71 PHP_FUNCTION(strptime) in PHP_FUNCTION() argument 87 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
|
H A D | config.m4 | 334 dnl Obsolete check for strptime() declaration. The strptime, where available, 336 dnl declared in time.h. PHP's strptime is also deprecated as of PHP 8.1. 338 AC_CHECK_DECL([strptime], 340 [Define to 1 if you have the declaration of 'strptime'.])],,
|
H A D | basic_functions.stub.php | 2122 function strptime(string $timestamp, string $format): array|false {}
|
H A D | basic_functions_arginfo.h | 2461 ZEND_FUNCTION(strptime);
|
/php-src/ |
H A D | configure.ac | 584 strptime
|
Completed in 120 milliseconds