Re: [PHP4BETA] MAKE_STD_ZVAL(): when???
| From: | Chuck Hagenbuch | Date: | Mon, 28 Feb 2000 14:50:32 +0000 |
| Subject: | Re: [PHP4BETA] MAKE_STD_ZVAL(): when??? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11127@lists.php.net to get a copy of this message | ||
Quoting Andrei Zmievski <andrei@ispi.net>:
> You _never_ call MAKE_STD_ZVAL() on return_value. It's already
> preallocated for you. MAKE_STD_ZVAL() is used to allocate a new zval.
Okay, that makes sense. Do you call MAKE_STD_ZVAL on every other zval that
goes _into_ a return value (array or object member), then?
Are there plans to update CODING_STANDARDS soon (it still refers to php3)?
If I were to take a shot at re-writing it for php4, would one of the core
developers be willing to look over it and correct my misunderstandings?
-chuck
--
Charles Hagenbuch, <chagenbu@wso.williams.edu>
--
"Christmas is odd. What other time of year can you meet in front of a dead
tree and eat candy from your socks?" - a crossword puzzle