Bug #55205 [Com]: Catchable fatal error is not fatal

From: Date: Mon, 01 Oct 2012 17:24:49 +0000
Subject: Bug #55205 [Com]: Catchable fatal error is not fatal
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173849@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55205&edit=1 ID: 55205 Comment by: levi at eneservices dot com Reported by: vodmal at yandex dot ru Summary: Catchable fatal error is not fatal Status: Closed Type: Bug Package: Scripting Engine problem Operating System: redhat PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: Does catchable fatal error, mean, I am not able to capture this error in a try catch? Previous Comments: ------------------------------------------------------------------------ [2012-10-01 17:22:21] levi at eneservices dot com Xdebug? I don't have xdebug, and I am getting Catchable fetal errors on converting one item to another, and my code still finishes. ------------------------------------------------------------------------ [2011-07-15 04:12:25] vodmal at yandex dot ru PHP 5.3.6 (cli) (built: May 4 2011 09:01:50) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with XCache v1.3.2, Copyright (c) 2005-2011, by mOo with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans Yes. I found. It is XDebug's problem. ------------------------------------------------------------------------ [2011-07-14 21:07:22] felipe@php.net Are you using some zend extension? ------------------------------------------------------------------------ [2011-07-14 06:41:59] vodmal at yandex dot ru Description: ------------ Catchable fatal error is not fatal. Test script: --------------- <?php class ClassA { function __construct(ClassA $a) {} } $a = new ClassA(new stdClass); echo ":( not halted"; Expected result: ---------------- Fatal error. Script execution halt. Actual result: -------------- :( not halted ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55205&edit=1

« previous php.bugs (#173849) next »