|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-07-14 06:41 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 22:00:01 2025 UTC |
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.