PHP :: Bug #34802 :: new PDORow crashes Apache

 [2005-10-10 07:57 UTC] 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.