Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
| From: | Andi Gutmans | Date: | Tue, 15 Jul 2003 05:29:06 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3419@lists.php.net to get a copy of this message | ||
I don't quite remember Andrei's reason for choosing zval * instead of zval ** but it probably does make sense to change 'z' to return a zval ** instead of adding a new character ('Z') for returning zval **.
The downside is that we'd have to fix all of the extensions which sucks but is quite doable. We've done it in the past for other changes.
Don't forget that zval ** can do everything a zval * can and more (i.e. it can be used in conjunction with convert_to_string_ex() and friends).
Comments?
Andi
At 05:31 PM 14/7/2003 -0500, Josh Fuhs wrote:
Actually, I believe that 'Z' should be used instead of 'z' since everything that can be done with a 'z' can be done with a 'Z'. The reverse is not true. I didn't write this because it's a line of thought that deserves some discussion.