Searched refs:strptime (Results 1 – 9 of 9) sorted by relevance
/PHP-7.4/ext/standard/tests/time/ |
H A D | strptime_error.phpt | 5 if (!function_exists('strptime')) { 6 echo "SKIP strptime function not available in build"; 20 echo "*** Testing strptime() : error conditions ***\n"; 23 var_dump( strptime() ); 29 var_dump( strptime($date) ); 33 var_dump( strptime($date, $format, $extra_arg) ); 35 echo "\n-- Testing strptime() function on failure --\n"; 36 var_dump( strptime('foo', $format) ); 41 *** Testing strptime() : error conditions *** 43 -- Testing strptime() function with Zero arguments -- [all …]
|
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"); 8 if(PHP_OS == 'Darwin') die("skip - strptime() behaves differently on Darwin"); 12 /* Prototype : array strptime ( string $date , string $format ) 20 echo "*** Testing strptime() : basic functionality ***\n"; 26 var_dump(strptime($str, '%H:%M:%S %p %B %d %Y')); 29 var_dump(strptime($str, '%H:%M:%S %m/%d/%y')); 32 var_dump(strptime($str, '%A %B %e %R')); 38 *** Testing strptime() : basic functionality ***
|
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"); 11 /* Prototype : array strptime ( string $date , string $format ) 20 echo "*** Testing strptime() : basic functionality ***\n"; 26 $res = strptime($str, '%H:%M:%S %p %B %d %Y %Z'); 35 $res = strptime($str, '%H:%M:%S %m/%d/%y'); 44 $res = strptime($str, '%A %B %e %R'); 56 *** Testing strptime() : basic functionality ***
|
H A D | bug38524.phpt | 2 Bug #38524 (strptime() does not initialize the internal date storage structure) 4 <?php if (!function_exists('strptime')) echo "SKIP"; ?> 7 var_dump(strptime('2006-08-20', '%Y-%m-%d'));
|
/PHP-7.4/ext/standard/ |
H A D | datetime.c | 69 char *strptime(const char *s, const char *format, struct tm *tm); 74 PHP_FUNCTION(strptime) in PHP_FUNCTION() argument 90 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
|
H A D | datetime.h | 24 PHP_FUNCTION(strptime);
|
H A D | config.m4 | 368 dnl Check for strptime() 370 AC_CACHE_CHECK(whether strptime() declaration fails, ac_cv_strptime_decl_fails,[ 375 #error no strptime() on this platform 377 /* use invalid strptime() declaration to see if it fails to compile */ 378 int strptime(const char *s, const char *format, struct tm *tm); 386 AC_DEFINE([HAVE_STRPTIME_DECL_FAILS], 1, [whether strptime() declaration fails])
|
H A D | basic_functions.c | 2742 PHP_FE(strptime, arginfo_strptime)
|
/PHP-7.4/ |
H A D | configure.ac | 641 strptime \
|
Completed in 43 milliseconds