Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:742 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83353 invoked from network); 6 Apr 2003 14:04:42 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 6 Apr 2003 14:04:42 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h36E4cnv015523; Sun, 6 Apr 2003 16:04:41 +0200 Date: Sun, 6 Apr 2003 16:04:38 +0200 (CEST) X-X-Sender: derick@jdi.jdimedia.nl To: Timm Friebe cc: internals@lists.php.net In-Reply-To: <1049637736.25691.943.camel@localhost> Message-ID: References: <1049637736.25691.943.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Make use of use From: derick@php.net (Derick Rethans) 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? 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/ -------------------------------------------------------------------------