Re: [PHP4BETA] additional headers in include and require functions

From: Date: Mon, 08 May 2000 10:43:04 +0000
Subject: Re: [PHP4BETA] additional headers in include and require functions
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-14662@lists.php.net to get a copy of this message
AK>> Think of it like $HTTP_GET_VARS & co, there are already AK>> hardcoded variables in PHP. And this patch doesn't break Well, those aren't funcion parameters, those are system variables. One thing is when you get HTTP_GET_VARS from the start, and other thing is when you set some variable somewhere and then you functions in some other parts of the code start to behave differently. Reminds me Perl $@&$^#^ variables a lot (that thing wasn't swear word, it was Perl variable :), which is one of things I do not like there. AK>> compatibility with existing files. If you used a parameter, how AK>> would you use it? Make a special funcion? Then you would break AK>> your scripts if used on different version of PHP. This is just a AK>> proposal, maybe there is better way? Your script will break on old version of PHP anyway, because you use feature that isn't on that version. If so, it's better that it'd break earlier and louder, not just subtly return wrong data. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.version4 (#14662) next »