#35402 [Opn->Csd]: New date class crashes on get_object_vars
| From: | tony2001@php.net | Date: | Sat, 26 Nov 2005 09:41:17 +0000 |
| Subject: | #35402 [Opn->Csd]: New date class crashes on get_object_vars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89031@lists.php.net to get a copy of this message | ||
ID: 35402
Updated by: tony2001@php.net
Reported By: stochnagara at hotmail dot com
-Status: Open
+Status: Closed
Bug Type: Date/time related
Operating System: windows xp
PHP Version: 5.1.0
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-11-26 04:05:45] stochnagara at hotmail dot com
Description:
------------
The newly introduced date class in php 5.1 crashes Apache when
get_object_vars is called on an instance of that class.
Reproduce code:
---------------
<?
$date = new date;
var_dump(get_object_vars($date));
Expected result:
----------------
Array (...)
Actual result:
--------------
Apache crashes.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35402&edit=1