|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30162 Problem with var_dump()
Submitted: 2004-09-20 09:34 UTC Modified: 2005-05-04 10:51 UTC
Avg. Score:2.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: guth at fiifo dot u-psud dot fr Assigned: andi (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2005-03-07 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: guth at fiifo dot u-psud dot fr
New email:
PHP Version: OS:


 [2004-09-20 09:34 UTC] guth at fiifo dot u-psud dot fr
This bug is linked to bug #30161.

var_dump() should produce an object.

Reproduce code:
class FIIFO {

	public function __construct() {
		throw new Exception;


class hariCow extends FIIFO {

	public function __construct() {
		try {
		} catch(Exception $e) {
	public function __toString() {
		return "Rusticus in asino sedet.";


$db = new hariCow;


Expected result:
Something like 'Object ...'

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-07 23:52 UTC]
THink that I broke this...
 [2005-03-09 11:33 UTC]
Nope, this has problably to do with exceptions - not my thing.
 [2005-05-04 10:51 UTC]
Fixed in CVS HEAD and PHP_5_0.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 23 06:01:24 2021 UTC