Searched refs:date_parse (Results 1 – 13 of 13) sorted by relevance
9 $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');
2 Test date_parse() function : basic functionality8 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 ***
2 Test date_parse() function : error conditions8 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 --
2 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(""));
2 Bug #52430 (date_parse parse 24:xx:xx as valid time)5 var_dump(date_parse('2010-1-1 24:59:59'));
9 var_dump(date_parse(" a "));10 var_dump(date_parse(" \n "));
8 print_r(date_parse($date_string));
9 var_dump( date_parse('0000-00-00 00:00:00') );
17 $result = date_parse( $test );
169 function date_parse(string $datetime): array {} function
535 ZEND_FUNCTION(date_parse);636 ZEND_FE(date_parse, arginfo_date_parse)
3211 PHP_FUNCTION(date_parse) in PHP_FUNCTION() argument
Completed in 35 milliseconds