View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000391 | Xdebug | Uncategorized | public | 2008-07-22 16:11 | 2009-12-29 17:19 |
Reporter | Krishna | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | FreeBSD 7.0 amd64 | ||||
Product Version | 2.0.0dev | ||||
Summary | 0000391: When PHP runs with Xdebug it doesn't stop executing script when type hinting leads to fatal error | ||||
Description | When PHP runs with Xdebug it doesn't stop executing script when type hinting leads to fatal error. Without Xdebugs it stops. | ||||
Steps To Reproduce | <?php class A class B $z = new B(); This code leads to Catchable fatal error: Argument 1 passed to B::myMethod() must be an instance of A, integer given, called in /var/www/dev1/html/test.php on line 17 and defined in /var/www/dev1/html/test.php on line 10 BUT! when zend_extension=/usr/local/lib/php/20060613/xdebug.so is commented in php.ini (XDebug off) - the script stops and we do not get any messages. But if XDebug is active we get error again, followed by output of: 123And going and going... | ||||
Additional Information | PHP 5.2.6 (from /usr/ports/) Xdebug part in php.ini: [xdebug] xdebug.remote_autostart = Off | ||||
Tags | No tags attached. | ||||
Operating System | FreeBSD 7.0 amd64 | ||||
PHP Version | 5.2.6 | ||||
|
Please read "Steps To Reproduce"! P.S. This bug can be affilated to 0000389 |
|
PHP with xdebug enabled does not stop script on RECOVERABLE ERRORS. See bug 0000408. edited on: 2008-09-20 23:30 |
|
related to 0000389, has duplicate 0000408 I could reproduce this with PHP 5.3.0alpha3 and XDebug 2.1.0-dev as of today. |
|
Fixed in rev. 3178—it was only slightly related to 0000389. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-07-22 16:11 | Krishna | New Issue | |
2008-07-23 14:26 | Krishna | Note Added: 0000866 | |
2008-09-20 22:28 | tomas | Note Added: 0000878 | |
2008-09-20 22:30 | tomas | Note Edited: 0000878 | |
2008-12-11 21:10 | k-fish | Note Added: 0000899 | |
2008-12-20 19:49 | derick | Relationship added | has duplicate 0000408 |
2009-12-29 17:19 | derick | Note Added: 0001231 | |
2009-12-29 17:19 | derick | Status | new => closed |
2009-12-29 17:19 | derick | Resolution | open => fixed |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |