Home
last modified time | relevance | path

Searched refs:strptime (Results 1 – 10 of 10) sorted by relevance

/PHP-7.0/ext/standard/tests/time/
H A Dstrptime_error.phpt5 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 Dstrptime_basic.phpt2 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'));
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 Dstrptime_parts.phpt2 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 Dbug38524.phpt2 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.0/ext/standard/
H A Ddatetime.c81 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 Ddatetime.h26 PHP_FUNCTION(strptime);
H A Dconfig.m4554 dnl Check for strptime()
556 AC_CACHE_CHECK(whether strptime() declaration fails, ac_cv_strptime_decl_fails,[
561 #error no strptime() on this platform
563 /* use invalid strptime() declaration to see if it fails to compile */
564 int strptime(const char *s, const char *format, struct tm *tm);
572 AC_DEFINE([HAVE_STRPTIME_DECL_FAILS], 1, [whether strptime() declaration fails])
H A Dbasic_functions.c2695 PHP_FE(strptime, arginfo_strptime)
/PHP-7.0/ext/interbase/
H A Dibase_query.c584 strptime(Z_STRVAL_P(val), INI_STR("ibase.timestampformat"), &t); in _php_ibase_bind_array()
602 strptime(Z_STRVAL_P(val), INI_STR("ibase.dateformat"), &t); in _php_ibase_bind_array()
619 strptime(Z_STRVAL_P(val), INI_STR("ibase.timeformat"), &t); in _php_ibase_bind_array()
715 if (!strptime(Z_STRVAL_P(b_var), format, &t)) { in _php_ibase_bind()
/PHP-7.0/
H A Dconfigure.in687 strptime \

Completed in 40 milliseconds