Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c

From: Date: Fri, 22 Aug 2003 13:14:39 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_builtin_functions.c
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1658@lists.php.net to get a copy of this message
On August 22, 2003 08:59 am, Zeev Suraski wrote: > Why is it necessary? And anyway, hardcoded numbers like this aren't a good > idea... As it now stands user defined constants do not have a module_number, which means that any operation that tries use that field will be making an operation on an undefined field. The 2147483647 is a 'safe' number that will not conflict with any module_numbers as set by regular modules and allow identification of user defined constants via module_number. That said it would be better to define this number inside zend_constants.h, which I will do unless there are any other problems (?). Ilia

« previous php.zend-engine.cvs (#1658) next »