View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001191 | Xdebug | public | 2015-10-20 09:07 | 2015-10-23 08:32 | |
Reporter | snichini | Assigned To | derick | ||
Priority | high | Severity | block | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | PHP7RC5 | OS | OSX | OS Version | 10.10.5 |
Summary | 0001191: Try / Catch / Uncaught exception / Fatal Error max execution time | ||||
Description | When an exception in thrown inside a Try/Catch, the script hangs until the max execution time is reached and the script is exited. If I disable xdebug 3.0.0 dev, the try catch works perfectly I've tried with several type of Exception object and none works. | ||||
Steps To Reproduce | Create a php file with: try { And executes the script through php cli or host You should have something like : AND | ||||
Additional Information | ( ! ) Error: Call to a member function getToto() on integer in /WORKS/WWW/testphp7.php on line 6 Time Memory Function Location1 0.0008 363040 {main}( ) .../testphp7.php:0 ( ! ) Warning: Uncaught Error: Call to a member function getToto() on integer in /WORKS/WWW/testphp7.php:6 Stack trace: #0 {main} thrown in /WORKS/WWW/testphp7.php on line 6 Time Memory Function Location1 0.0008 363040 {main}( ) .../testphp7.php:0 ( ! ) Fatal error: Maximum execution time of 30 seconds exceeded in /WORKS/WWW/testphp7.php on line 7 Time Memory Function Location1 0.0008 363040 {main}( ) .../testphp7.php:0 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | OSX | ||||
PHP Version | 7.0RCx | ||||
|
I think this is a bug in PHP 7.0RC5 itself: http://thread.gmane.org/gmane.comp.php.devel/101724 Can you try the latest PHP from Git's PHP-7.0 branch? It should be fixed there. |
|
It works ! I've build the latest version of php-7.0 branch and the exception is thrown without fatal error |
|
Okay - closing this out then. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-20 09:07 | snichini | New Issue | |
2015-10-20 09:07 | snichini | File Added: 2015-10-20_11-06-34.png | |
2015-10-22 22:55 | derick | Note Added: 0003183 | |
2015-10-22 22:55 | derick | Assigned To | => derick |
2015-10-22 22:55 | derick | Status | new => feedback |
2015-10-23 08:29 | snichini | Note Added: 0003188 | |
2015-10-23 08:29 | snichini | Status | feedback => assigned |
2015-10-23 08:32 | derick | Note Added: 0003191 | |
2015-10-23 08:32 | derick | Status | assigned => resolved |
2015-10-23 08:32 | derick | Resolution | open => no change required |
2016-07-31 12:35 | derick | Category | Debug client (console) => debugclient (debugging tool) |
2016-07-31 12:35 | derick | Category | debugclient (debugging tool) => (No Category) |