[xdebug-dev] Bug 0000408: Script is not aborted on E_RECOVERABLE_ERROR errors

From: <noreply[@]lists.xdebug.org>
Date: Tue, 9 Sep 2008 21:16:11 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000408
======================================================================
Reporter: tomas
Handler:
======================================================================
Project: Xdebug
Bug ID: 408
Category: Debug client (console)
Reproducibility: always
Severity: trivial
Priority: normal
Status: new
Operating System:
PHP Version: 5.2.3
Xdebug Version: 2.0.3
======================================================================
Date Submitted: 2008-09-09 21:16 CEST
Last Modified: 2008-09-09 21:16 CEST
======================================================================
Summary: Script is not aborted on E_RECOVERABLE_ERROR errors
Description:
A simple code to reproduce the bug:

<?php

$not_an_array = 'string';
a_function($not_an_array);

function a_function(array $array)
{
        // do something
}

echo 'The script has not been aborted?';
?>

The code generates E_RECOVERABLE_ERROR error (the mismatch of argument
type). When xdebug is enabled the code is not aborted.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2008-09-09 21:16tomas New Bug
2008-09-09 21:16tomas Bug Monitored: tomas
======================================================================
Received on Tue Sep 09 2008 - 21:16:13 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST