Searched refs:date_parse (Results 1 – 13 of 13) sorted by relevance
2 Test date_parse() function : error conditions5 /* Prototype : array date_parse ( string $date )13 echo "*** Testing date_parse() : error conditions ***\n";15 echo "\n-- Testing date_parse() function with zero arguments --\n";16 var_dump( date_parse() );21 var_dump( date_parse($date, $extra_arg) );25 var_dump( date_parse($invalid_date) );30 *** Testing date_parse() : error conditions ***32 -- Testing date_parse() function with zero arguments --34 Warning: date_parse() expects exactly 1 parameter, 0 given in %s on line %d[all …]
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 functionality5 /* Prototype : array date_parse ( string $date )13 echo "*** Testing date_parse() : basic functionality ***\n";15 var_dump( date_parse("2009-02-27 10:00:00.5") );16 var_dump( date_parse("10:00:00.5") );17 var_dump( date_parse("2009-02-27") );22 *** Testing date_parse() : basic functionality ***
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(""));[all …]
2 Test date_parse() function : usage variation - Passing unexpected values to first argument $date.5 /* Prototype : array date_parse ( string $date )10 echo "*** Testing date_parse() : usage variation - unexpected values to first argument \$date***\n…99 $result = date_parse($date);113 *** Testing date_parse() : usage variation - unexpected values to first argument $date***155 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d160 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d165 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d170 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d255 Warning: date_parse() expects parameter 1 to be string, object given in %s on line %d[all …]
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 );
59 PHP_FUNCTION(date_parse);
443 PHP_FE(date_parse, arginfo_date_parse)3143 PHP_FUNCTION(date_parse) in PHP_FUNCTION() argument
Completed in 33 milliseconds