#40477 [Bgs->Csd]: object's read property handler not used in zend_print_zval_r_ex

From: Date: Thu, 15 Feb 2007 18:45:38 +0000
Subject: #40477 [Bgs->Csd]: object's read property handler not used in zend_print_zval_r_ex
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108999@lists.php.net to get a copy of this message
ID: 40477 Updated by: helly@php.net Reported By: piotrek dot pokora at gmail dot com -Status: Bogus +Status: Closed Bug Type: Variables related Operating System: * PHP Version: 5.2.* -Assigned To: +Assigned To: helly 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. The above closes the bug Previous Comments: ------------------------------------------------------------------------ [2007-02-15 18:44:41] helly@php.net PHP 5.3 will and PHP 6 has already a handler to solve the issue. As long as we are speaking of internal stuff that means the only thing we have to do is check whether the mentioned helper function uses that new handler in PHP 6. Care to do so? ------------------------------------------------------------------------ [2007-02-15 10:12:21] piotrek dot pokora at gmail dot com >> Is this a list for reporting ZEND bugs? >No, this is a list when I'm ready to explain any question regarding Zend >Engine sources to a person who haven't ever heard of respect. Please, forgive me. But don't you think that documentation privided by ZEND clearly states: "read_property - returns zval *, containing the value of the property. Is used when value of the property should be retrieved for reading." It doesn't tell about any exceptions. I will be more than glad to ask you about such exceptions at pecl-dev list but unfortunatelly I didn't get any confirmation after using ( few times ) submit form at http://pecl.php.net/support.php#lists. If I can not subscribe to this list with this form , please subscribe me using my mail. I am looking forward for detailed clarification. ------------------------------------------------------------------------ [2007-02-15 09:48:33] tony2001@php.net >> pecl-dev@lists.php.net > Is this a list for reporting ZEND bugs? No, this is a list when I'm ready to explain any question regarding Zend Engine sources to a person who haven't ever heard of respect. ------------------------------------------------------------------------ [2007-02-15 09:36:25] mike@php.net Stop ranting and grasp the facts. ------------------------------------------------------------------------ [2007-02-15 09:32:19] piotrek dot pokora at gmail dot com > pecl-dev@lists.php.net Is this a list for reporting ZEND bugs? http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.c?revision=1.393&view=markup function: static void print_hash(HashTable *ht, int indent, zend_bool is_object TSRMLS_DC) printing value: ZEND_PUTS("] => "); zend_print_zval_r(*tmp, indent+PRINT_ZVAL_INDENT TSRMLS_CC); ZEND_PUTS("\n"); tmp pointer is not a pointer for a zval returned by ANY read_property. Neither standard nor user defined one. If you are going to keep this bug with bogus status, I am going to submit another one. Logic and consistency is broken here. And this is absolutely a bug. Behaviour of this function's part is unchanged since ZEND1 engine. ------------------------------------------------------------------------ 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/40477 -- Edit this bug report at http://bugs.php.net/?id=40477&edit=1

« previous php.bugs (#108999) next »