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
[email protected] (Marcus Boerger)
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <[email protected]> |
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