I was using a binary with the new timelib. Undo the datetime tests
[hiphop-php.git] / hphp / test / zend / bad / ext-date / date_create_basic.php
blob645fd93c15a1992ab88942d05dae25044e854a8c
1 <?php
2 /* Prototype : DateTime date_create ([ string $time [, DateTimeZone $timezone ]] )
3 * Description: Returns new DateTime object
4 * Source code: ext/date/php_date.c
5 * Alias to functions: DateTime::__construct
6 */
8 //Set the default time zone
9 date_default_timezone_set("Europe/London");
11 echo "*** Testing date_create() : basic functionality ***\n";
13 var_dump( date_create() );
15 var_dump( date_create("GMT") );
16 var_dump( date_create("2005-07-14 22:30:41") );
17 var_dump( date_create("2005-07-14 22:30:41 GMT") );
20 ===DONE===