ID: 35303 Updated by: [EMAIL PROTECTED] Reported By: stochnagara at hotmail dot com -Status: Open +Status: Closed Bug Type: PDO related Operating System: windows xp PHP Version: 5CVS-2005-11-20 (snap) 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-20 12:50:02] stochnagara at hotmail dot com Description: ------------ PDO still crashes Apache when using child classes. See bug #35118 - it's almost the same. Reproduce code: --------------- <? class MAppPDOStatement extends PDOStatement { } class MAppPDO extends PDO { function prepare ($string, array $options = array()) { $options [PDO::ATTR_STATEMENT_CLASS] = 'MAppPDOStatement'; parent::prepare ($string, $options); } } $a = new MAppPDO("sqlite::memory:"); $a->prepare("insert into test (b) values (?)"); Expected result: ---------------- no errors Actual result: -------------- Apache crashes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35303&edit=1
