Home
last modified time | relevance | path

Searched refs:date_parse (Results 1 – 13 of 13) sorted by relevance

/php-src/ext/date/tests/
H A Dbug41964.phpt9 $res = date_parse('Ask the Experts');
13 $res = date_parse('A ');
17 $res = date_parse('A');
21 $res = date_parse('a ');
25 $res = date_parse('a');
29 $res = date_parse('A Revolution in Development');
33 $res = date_parse('a nothing');
H A Ddate_parse_basic1.phpt2 Test date_parse() function : basic functionality
8 echo "*** Testing date_parse() : basic functionality ***\n";
10 var_dump( date_parse("2009-02-27 10:00:00.5") );
11 var_dump( date_parse("10:00:00.5") );
12 var_dump( date_parse("2009-02-27") );
16 *** Testing date_parse() : basic functionality ***
H A Ddate_parse_error.phpt2 Test date_parse() function : error conditions
8 echo "*** Testing date_parse() : error conditions ***\n";
10 echo "\n-- Testing date_parse() function with unexpected characters in \$date argument --\n";
12 var_dump( date_parse($invalid_date) );
16 *** Testing date_parse() : error conditions ***
18 -- Testing date_parse() function with unexpected characters in $date argument --
H A Ddate_parse_001.phpt2 Test basic date_parse()
6 var_dump(date_parse("2006-12-12 10:00:00.5"));
7 var_dump(date_parse("2006-12-12"));
8 var_dump(date_parse("2006-12--12"));
9 var_dump(date_parse("2006-02-30"));
10 var_dump(date_parse("2006-03-04"));
11 var_dump(date_parse("2006-03"));
12 var_dump(date_parse("03-03"));
13 var_dump(date_parse("0-0"));
14 var_dump(date_parse(""));
H A Dbug52430.phpt2 Bug #52430 (date_parse parse 24:xx:xx as valid time)
5 var_dump(date_parse('2010-1-1 24:59:59'));
H A Dbug35499.phpt9 var_dump(date_parse(" a "));
10 var_dump(date_parse(" \n "));
H A Dbug41709.phpt8 print_r(date_parse($date_string));
H A Dbug41523-64bit.phpt9 var_dump( date_parse('0000-00-00 00:00:00') );
H A Dbug41523.phpt9 var_dump( date_parse('0000-00-00 00:00:00') );
H A Dbug51096.phpt17 $result = date_parse( $test );
/php-src/ext/date/
H A Dphp_date.stub.php169 function date_parse(string $datetime): array {} function
H A Dphp_date_arginfo.h535 ZEND_FUNCTION(date_parse);
636 ZEND_FE(date_parse, arginfo_date_parse)
H A Dphp_date.c3174 PHP_FUNCTION(date_parse) in PHP_FUNCTION() argument

Completed in 40 milliseconds