Home
last modified time | relevance | path

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

/PHP-7.3/ext/date/tests/
H A Ddate_parse_error.phpt2 Test date_parse() function : error conditions
5 /* 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 …]
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
5 /* 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 ***
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(""));
[all …]
H A Ddate_parse_variation1.phpt2 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 %d
160 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d
165 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d
170 Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d
255 Warning: date_parse() expects parameter 1 to be string, object given in %s on line %d
[all …]
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.phpt9 var_dump( date_parse('0000-00-00 00:00:00') );
H A Dbug41523-64bit.phpt9 var_dump( date_parse('0000-00-00 00:00:00') );
H A Dbug51096.phpt17 $result = date_parse( $test );
/PHP-7.3/ext/date/
H A Dphp_date.h59 PHP_FUNCTION(date_parse);
H A Dphp_date.c443 PHP_FE(date_parse, arginfo_date_parse)
3143 PHP_FUNCTION(date_parse) in PHP_FUNCTION() argument

Completed in 33 milliseconds