I'll take a look at it. Thanks.
At 01:20 PM 5/10/2004 -0700, Andrei Zmievski wrote:
This is a patch I'd like to propose for inclusion in PHP 5.
It is very useful to be able to refer to other .ini variables when defining them. Things like concatenation and reusing the same dir in multiple places become possible.
With the attached patch you can do things like:
default_dir = "/home/www/apache" include_path = ".:" ${default_dir} "/htdocs" open_basedir = ${default_dir} "/share"
Whitespace between variables and strings is optional. Strings don't have to be in quotes. If the variable is not found in the currently defined .ini hash, then the SAPI getenv() hook is used to see whether it exists there so you can refer to env variables this way.
Patch is against latest Zend dir.
- Andrei
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php