removal of allow_call_time_pass_reference

php.internals

Florian Schaper

21 years ago
Regarding backward compatibility option "allow_call_time_pass_reference" one will find in the php.ini: "... future versions of PHP/Zend are likely not to support it. ...". A customer of mine relies heavily uppon that feature however, be it "wise" to do so or not. He is now a little confused as to how much time he has until support in aspect to backwards compatibility is removed. What I'd like to now is if there is a standard policy how language support regarding backwards compatibility is handled. How long will there be support for deprecated Features like register_globals or allow_call_time_pass_reference? Will they get lost on a whim during a major version change? After all I still see support for those in php5. ./regards Florian

Sara Golemon

21 years ago
> A customer of mine relies heavily uppon that feature however, be it "wise" > to do so or not. He is now a little confused as to how much time he has > until support in aspect to backwards compatibility is removed. >
26.3 years.... starting next tuesday...
> How long will there be support for deprecated Features like > register_globals or allow_call_time_pass_reference? Will they get lost on > a whim during a major version change? After all I still see support for > those in php5. >
I wouldn't lie awake nights worrying about it. The first deprecated features to be dropped are likely to be repackaged into a 'deprecated' extension in PECL which can be used to add the functionality back in as needed. Of course, some features (like allow_call_time_pass_reference) can't be externalized into an extension like that so they'll probably not be removed as quickly and be well announced when they are. Ultimately I can't tell you exactly when it'll happen, nor can any one person as when it does it'll be by consensus. The important thing to remember is, it's up to you (or your client) to put in the work *now* so that you won't get caught with your pants down when this or other deprecated functionality dissapears). -Sara