Searched refs:strptime (Results 1 – 11 of 11) sorted by relevance
/PHP-5.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"; 11 /* Prototype : array strptime ( string $date , string $format ) 20 echo "*** Testing strptime() : error conditions ***\n"; 22 echo "\n-- Testing strptime() function with Zero arguments --\n"; 23 var_dump( strptime() ); 29 var_dump( strptime($date) ); 33 var_dump( strptime($date, $format, $extra_arg) ); 38 *** Testing strptime() : error conditions *** 40 -- 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"); 13 /* Prototype : array strptime ( string $date , string $format ) 21 echo "*** Testing strptime() : basic functionality ***\n"; 27 var_dump(strptime($str, '%H:%M:%S %p %B %d %Y %Z')); 30 var_dump(strptime($str, '%H:%M:%S %m/%d/%y')); 33 var_dump(strptime($str, '%A %B %e %R')); 39 *** 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"); 12 /* Prototype : array strptime ( string $date , string $format ) 21 echo "*** Testing strptime() : basic functionality ***\n"; 27 $res = strptime($str, '%H:%M:%S %p %B %d %Y %Z'); 36 $res = strptime($str, '%H:%M:%S %m/%d/%y'); 45 $res = strptime($str, '%A %B %e %R'); 57 *** 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-5.4/ext/standard/ |
H A D | datetime.c | 81 char *strptime(const char *s, const char *format, struct tm *tm); 86 PHP_FUNCTION(strptime) in PHP_FUNCTION() argument 101 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
|
H A D | datetime.h | 26 PHP_FUNCTION(strptime);
|
H A D | config.m4 | 540 dnl Check for strptime() 542 AC_CACHE_CHECK(whether strptime() declaration fails, ac_cv_strptime_decl_fails,[ 547 #error no strptime() on this platform 549 /* use invalid strptime() declaration to see if it fails to compile */ 550 int strptime(const char *s, const char *format, struct tm *tm); 558 AC_DEFINE([HAVE_STRPTIME_DECL_FAILS], 1, [whether strptime() declaration fails])
|
H A D | basic_functions.c | 2695 PHP_FE(strptime, arginfo_strptime)
|
/PHP-5.4/ext/interbase/ |
H A D | ibase_query.c | 580 strptime(Z_STRVAL_P(val), INI_STR("ibase.timestampformat"), &t); in _php_ibase_bind_array() 598 strptime(Z_STRVAL_P(val), INI_STR("ibase.dateformat"), &t); in _php_ibase_bind_array() 615 strptime(Z_STRVAL_P(val), INI_STR("ibase.timeformat"), &t); in _php_ibase_bind_array() 711 if (!strptime(Z_STRVAL_P(b_var), format, &t)) { in _php_ibase_bind()
|
/PHP-5.4/ |
H A D | configure.in | 674 strptime \
|
H A D | NEWS | 7158 - Fixed bug #38524 (strptime() does not initialize the internal date storage
|
Completed in 56 milliseconds