Re: [PHP4BETA] cvs: /php4 php.h /php4/ext/standard basic_functions.c basic_functions.h php3_string.h string.c /php4/tests testarray

From: Date: Tue, 21 Sep 1999 15:24:35 +0000
Subject: Re: [PHP4BETA] cvs: /php4 php.h /php4/ext/standard basic_functions.c basic_functions.h php3_string.h string.c /php4/tests testarray
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-4750@lists.php.net to get a copy of this message
Andi Gutmans wrote: > Well we didn't really discuss it between each other either (as Zeev and I). > I didn't think it was a big deal. Zeev added the zend_builtin_functions > file for the uf_num_args and uf_get_arg functions, and I just did something > which has been bothering me for a long time, which was to move the very > core language specific functions over to Zend. > It really is no big deal. > Obviously if someone else uses the Zend engine he'd need to use those > functions as part of the core language, and I wouldn't then want to go and > cut&paste from the PHP source tree. I realize what you wanted to do with this, but still.. We all agree that Zend is a language engine used by PHP, but I don't think the engine should have user callable functions of its own. It should provide hooks and interfaces which the host environment (PHP) can use to build its function library, which is exactly what's been happening until now. You said that the functions you moved heavily depend on Zend specific features, well, but then a lot of other existing functions do, including all the array ones. Should they be moved as well? -Andrei * I don't have a solution but I admire the problem. *

« previous php.version4 (#4750) next »