Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend.h zend_API.c zend_builtin_functions.c zend_compile.c zend_execute_API.c zend_object_handlers.c
/tests bug43128.phpt php-src NEWS
| From: | Marcus Boerger | Date: | Fri, 15 Feb 2008 22:34:32 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend.h zend_API.c zend_builtin_functions.c zend_compile.c zend_execute_API.c zend_object_handlers.c /tests bug43128.phpt php-src NEWS |
||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-6415@lists.php.net to get a copy of this message | ||
Hello Stanislav,
well in this case as well as in most other cases we deal with unrestricted
lengths. So adding an additional complexity does not seem very good imo.
Also we agreed on alloca when there is no function call befween alloca and
its free_alloca.
Btw, from the manpage:
The alloca() function is machine and compiler dependent. On many sys-
tems its implementation is buggy. Its use is discouraged.
[...]
marcus
Friday, February 15, 2008, 10:14:52 PM, you wrote:
>> intersting change on the Zend side of PHP then. I remember that you guys
>> were pretty much against any use of alloca. But well as long as you do it...
> I don't remember being against any use of alloca()... IMHO alloca() is
> OK as long as it is used for short things that live very short time
> (like temp strings).
Best regards,
Marcus