ID: 40465 Updated by: [EMAIL PROTECTED] Reported By: wharmby at uk dot ibm dot com -Status: Open +Status: Closed Bug Type: Variables related Operating System: Windows XP PHP Version: 5CVS-2007-02-13 (CVS) New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch. Previous Comments: ------------------------------------------------------------------------ [2007-02-13 22:18:13] [EMAIL PROTECTED] Ilia, learn to read ;-) ------------------------------------------------------------------------ [2007-02-13 19:53:14] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . ------------------------------------------------------------------------ [2007-02-13 19:08:18] wharmby at uk dot ibm dot com btw.. Given that the code behaves in the intended manner removing the spurious code in the HEAD (PHP 6) stream only would probably suffice here. ------------------------------------------------------------------------ [2007-02-13 19:05:41] wharmby at uk dot ibm dot com Thanks Derick. I had assumed as much from comments in previous defects on var_dump(). var_dump() is a debug aid rather than something a PHP application should be using and if it did NOT print out details regarding private and protected fields that would be a pain. Which means that the 2nd patch attached is the one which is needed here to remove the spurious and bogus code. ------------------------------------------------------------------------ [2007-02-13 18:44:09] [EMAIL PROTECTED] Just FYI: var_dump should show the private and protected properties. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40465 -- Edit this bug report at http://bugs.php.net/?id=40465&edit=1