diff options
Diffstat (limited to 'ext/date/tests/date_parse_error.phpt')
-rw-r--r-- | ext/date/tests/date_parse_error.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/date/tests/date_parse_error.phpt b/ext/date/tests/date_parse_error.phpt index 389f519ef9..9f444bb435 100644 --- a/ext/date/tests/date_parse_error.phpt +++ b/ext/date/tests/date_parse_error.phpt @@ -1,13 +1,13 @@ --TEST-- -Test date_parse() function : error conditions +Test date_parse() function : error conditions --FILE-- <?php -/* Prototype : array date_parse ( string $date ) +/* Prototype : array date_parse ( string $date ) * Description: Returns associative array with detailed info about given date. * Source code: ext/date/php_date.c */ - -//Set the default time zone + +//Set the default time zone date_default_timezone_set("Europe/London"); echo "*** Testing date_parse() : error conditions ***\n"; @@ -22,7 +22,7 @@ var_dump( date_parse($date, $extra_arg) ); echo "\n-- Testing date_parse() function with unexpected characters in \$date argument --\n"; $invalid_date = "2OO9-02--27 10:00?00.5"; -var_dump( date_parse($invalid_date) ); +var_dump( date_parse($invalid_date) ); ?> ===DONE=== |