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: | Stanislav Malyshev | Date: | Sat, 16 Feb 2008 00:27:36 +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 10 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-6416@lists.php.net to get a copy of this message | ||
Hi!
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.It is important to understand the difference between potentially unlimited length - which can come from malicious or very rare exceptional input - and 99.9% of regular cases where the input is very short. The improvement we get on those frequent cases covers for extra check to accomodate the very infrequent case of the long string. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com