View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001106 | Xdebug | Uncategorized | public | 2015-02-16 13:40 | 2016-05-11 02:24 |
| Reporter | Dev101 | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | CentOS | OS Version | 6.5 |
| Product Version | 2.2.7 | ||||
| Fixed in Version | 2.4.1 | ||||
| Summary | 0001106: A thrown Exception after a class with __debugInfo gives 2 Errors | ||||
| Description | If you make an instance of an class that has __debugInfo() implemented and you are throwing an Exception after that you get the following errors: Warning: Uncaught exception 'Exception' with message 'neee' in test.php:10 and Fatal error: __debuginfo() must return an array in test.php on line 10 With disabled xDebug all is fine with the script below. | ||||
| Steps To Reproduce | <?php class A $c = new A(); | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.6.5-5.6.9 | ||||
|
|
Your script just outputs "all fine" - like I expect it to do. Are you sure the script that you provided actually gives the output you said it would? |
|
|
yeah i'm sure about this. i tried a bit with some setting, it seems to depend on xdebug.show_local_vars i attached a phpinfo with the configuration where i get the errors. |
|
|
I can reproduce this bug here. It appears when Xdebug is connected to a client (here: PHPStorm). php 5.6.13 Operating System is Arch Linux. |
|
|
There is a problem under such conditions: Server: Client: |
|
|
I have the same issue: Xdebug v2.4.0beta1 |
|
|
I confirm the issue is still there (Xdebug 2.4.0) on Laravel Homestead 0.4.2 vagrant box (See https://laravel.com/docs/master/homestead) Environment is as follows: Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64) PHP script that produces the error is copied exactly as is from initial issue. Screenshot of Xdebug output: http://c2n.me/3vMuQql.png |
|
|
Fixed on GitHub for 2.4.1. |