#34802 [Opn->Fbk]: new PDORow crashes Apache

From: Date: Mon, 10 Oct 2005 06:54:21 +0000
Subject: #34802 [Opn->Fbk]: new PDORow crashes Apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86313@lists.php.net to get a copy of this message
ID: 34802 Updated by: sniper@php.net Reported By: stochnagara at hotmail dot com -Status: Open +Status: Feedback Bug Type: PDO related Operating System: windows xp PHP Version: 5.1.0RC1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-10 07:57:01] stochnagara at hotmail dot com Description: ------------ Creating a new PDORow object crashes my Apache. The error log contains the correct error message for this case: PHP Fatal error: PDORow::__construct() [<a href='function.--construct'>function.--construct</a>]: You should not create a PDOStatement manually in ...\pdo.php on line 2 But crashing Apache is not the correct behaviour. Reproduce code: --------------- <? $q= new PDORow(); ?> Expected result: ---------------- PHP Fatal error: PDORow::__construct() [<a href='function.--construct'>function.--construct</a>]: You should not create a PDOStatement manually in ...\pdo.php on line 2 Actual result: -------------- Apache crashes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34802&edit=1

« previous php.bugs (#86313) next »