Re: Make use of use
| From: | Derick Rethans | Date: | Sun, 06 Apr 2003 14:04:38 +0000 |
| Subject: | Re: Make use of use | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-742@lists.php.net to get a copy of this message | ||
On Sun, 6 Apr 2003, Timm Friebe wrote:
> There currently is a keyword "use" in the engine, reserved for future
> use:
>
> 1.1 (zeev 29-Oct-00): | T_USE [...]
>
> With all the discussions about errors and ini settings, why not use use
> to put PHP into different modes on a per-script-basis?
>
> Some ideas that came to my head:
> - use strict;
> => bail on undefined string- / array offsets / undeclared variables?
<snip>
use java;
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------