Re: [PHP-INSTALL] Instance of class DateTime returns empty object

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, David Keson wrote: To: php-install@lists.php.net From: David Keson Subject: [PHP-INSTALL] Instance of class DateTime returns empty object Hello, we have a problem with the PHP-class DateTime one a Debian- Server. After we creating a new instance of the class, we get just

[PHP-INSTALL] Instance of class DateTime returns empty object

2010-12-16 Thread David Keson
Hello, we have a problem with the PHP-class DateTime one a Debian- Server. After we creating a new instance of the class, we get just an empty object: $date = new DateTime(); var_dump($date); // object(DateTime)#2 (0) { } The common methods for the class are available. On a local machine, Date