ID:               33967
 Updated by:       [EMAIL PROTECTED]
 Reported By:      benjamin at schulz dot name
-Status:           Open
+Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: linux
 PHP Version:      5.1.0b3
 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-08-02 15:34:07] benjamin at schulz dot name

Description:
------------
If the Exception constructor or a child class gets an object as
argument the errormessage doesn't contain a file or line what makes it
hard to track down because in <5.1 or even <= 5.1.0b2 (not sure) it was
possible to use different prototypes in Exception children

Reproduce code:
---------------
<?php
throw new Exception(new stdClass);
?>

Actual result:
--------------
Fatal error: Wrong parameter count for exception([string $exception [,
long $code ]]) in Unknown on line 0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33967&edit=1

Reply via email to