php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67028 xDebug 0000996: Can't evaluate property of class that extends ArrayObject
Submitted: 2014-04-05 11:43 UTC Modified: 2016-02-21 12:08 UTC
Votes:9
Avg. Score:4.4 ± 0.8
Reproduced:7 of 9 (77.8%)
Same Version:3 (42.9%)
Same OS:5 (71.4%)
From: a dot kolkov at gmail dot com Assigned: nikic (profile)
Status: Closed Package: SPL related
PHP Version: 5.4.27 OS: all
Private report: No CVE-ID: None
 [2014-04-05 11:43 UTC] a dot kolkov at gmail dot com
Description:
------------
xDebug 0000996: Can't evaluate property of class that extends ArrayObject

http://bugs.xdebug.org/view.php?id=996

http://youtrack.jetbrains.com/issue/WI-15975

Test script:
---------------
<?php

class Clazz extends ArrayObject{

}

$a = new Clazz();
$a->b = array(1,2,3);

echo $a->b; //set breakpoint here

?>

Can't get $a->b via 'context_get' ("can not get property"), but the same property is successfully received via 'eval'.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-27 02:33 UTC] admin at rafaelbarros dot eti dot br
NO problem here.

PHP 5.5.9-1ubuntu4.2
Xdebug 2.2.3
NetBeans 7.4
 [2016-02-21 12:08 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2016-02-21 12:08 UTC] nikic@php.net
Has been fixed in Xdebug, see thread linked in the bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 17:01:28 2024 UTC