note 116291 added to class.domattr
| From: | greubel at nkey dot de | Date: | Sat, 06 Dec 2014 15:04:24 +0000 |
| Subject: | note 116291 added to class.domattr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201080@lists.php.net to get a copy of this message | ||
Please take care on debugging DOMAttr related code. This will cause an E_WARNING that retrieving
schemaTypeInfo attribute is not implemented yet. An IDE like Eclipse will inspect the object and its
member elements. In conjunction with registered error handlers, which will translate the E_WARNING
into Exception your debugging session will end unexpectedly. This has caused me some trouble while
debugging my PHPUnit test case in eclipse using "Makegood" plugin.
A possible workarround is to deactivate the error handling during debugging using
error_reporting(0). Remove the statement after finishing your debugging session.
Notable ticket in Bugtracker: https://bugs.php.net/bug.php?id=61858
And a xdebug tracker ticket: http://bugs.xdebug.org/view.php?id=910
----
Server IP: 72.52.91.14
Probable Submitter: 94.217.2.45
----
Manual Page -- http://php.net/manual/en/class.domattr.php
Edit -- https://master.php.net/note/edit/116291
Del: integrated -- https://master.php.net/note/delete/116291/integrated
Del: useless -- https://master.php.net/note/delete/116291/useless
Del: bad code -- https://master.php.net/note/delete/116291/bad+code
Del: spam -- https://master.php.net/note/delete/116291/spam
Del: non-english -- https://master.php.net/note/delete/116291/non-english
Del: in docs -- https://master.php.net/note/delete/116291/in+docs
Del: other reasons-- https://master.php.net/note/delete/116291
Reject -- https://master.php.net/note/reject/116291
Search -- https://master.php.net/manage/user-notes.php