summaryrefslogtreecommitdiff
path: root/ext/date/tests/DateTime_format_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/DateTime_format_error.phpt')
-rw-r--r--ext/date/tests/DateTime_format_error.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/date/tests/DateTime_format_error.phpt b/ext/date/tests/DateTime_format_error.phpt
index db1be92290..0772bf8a09 100644
--- a/ext/date/tests/DateTime_format_error.phpt
+++ b/ext/date/tests/DateTime_format_error.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test DateTime::format() function : error conditions
+Test DateTime::format() function : error conditions
--FILE--
<?php
/* Prototype : public string DateTime::format ( string $format )
@@ -7,8 +7,8 @@ Test DateTime::format() function : error conditions
* Source code: ext/date/php_date.c
* Alias to functions: date_format
*/
-
-//Set the default time zone
+
+//Set the default time zone
date_default_timezone_set("Europe/London");
// Craete a date object
@@ -22,7 +22,7 @@ var_dump( $date->format() );
echo "\n-- Testing date_date_formatcreate() function with more than expected no. of arguments --\n";
$format = "F j, Y, g:i a";
$extra_arg = 10;
-var_dump( $date->format($format, $extra_arg) );
+var_dump( $date->format($format, $extra_arg) );
?>
===DONE===