View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001160 | Xdebug | Uncategorized | public | 2015-06-10 08:03 | 2015-06-18 09:32 |
Reporter | bogeux | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Platform | x86_64 | OS | Linux debian | OS Version | 6.0.10 |
Product Version | 2.3.2 | ||||
Fixed in Version | 2.3.3 | ||||
Summary | 0001160: xdebug is still stricter than PHP regarding the code property type | ||||
Description | According to the issue http://bugs.xdebug.org/bug_view_page.php?bug_id=00000723 we still can't set a string code and throw the exception. In this case the code would be overrite with the value (int)0; | ||||
Steps To Reproduce | With xdebug (2.3.2) enabled : class myException extends Exception { $ex = new myException('foo', 'foo'); Output : | ||||
Tags | No tags attached. | ||||
Operating System | linux debian | ||||
PHP Version | 5.6.0-5.6.4 | ||||
|
Little fail in my "Steps To Reproduce", the type in the catch sould be myException. |
|
It's a duplicate of 0001133, which I've already fixed. I've verified it with your example too: derick@whisky:~ $ php --ri xdebug | grep Version derick@whisky:~ $ php /tmp/foo.php derick@whisky:~ $ php --ri xdebug | grep Version derick@whisky:~ $ php /tmp/foo.php derick@whisky:~ $ cat /tmp/foo.php $ex = new myException('foo', 'foo'); |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-10 08:03 | bogeux | New Issue | |
2015-06-10 08:06 | bogeux | Note Added: 0003113 | |
2015-06-18 09:32 | derick | Note Added: 0003124 | |
2015-06-18 09:32 | derick | Relationship added | duplicate of 0001133 |
2015-06-18 09:32 | derick | Status | new => resolved |
2015-06-18 09:32 | derick | Fixed in Version | => 2.3.3 |
2015-06-18 09:32 | derick | Resolution | open => duplicate |
2015-06-18 09:32 | derick | Assigned To | => derick |
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 |