Hi! > If I exclude current code, then introducing script only include will be > preferred one. I preferred dedicated statement for it though. > > include > include_once > require > require_once > script > script_once
I have a thought here. To implement script/script_once you don't need it to be a language construct. A function would do just as fine. Why not make an extension having these two functions, put it on PECL and see if people will be using it? For extreme adopters, you could even make php.ini switch that overrides include/require and redirects them to your script functions. Shouldn't be impossible to do, I think. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php