php variables are local by default.
-Original Message-
From: Costas [mailto:[EMAIL PROTECTED]]
Sent: 19 March 2001 10:27
To: [EMAIL PROTECTED]
Subject: [PHP] use strict alternative
Is there a PHP alternative to Perls use strict command.
For anyone who doesnt know Perl, use strict
On Monday 19 March 2001 12:53, you wrote:
php variables are local by default.
point missed :)
"use strict" forces you to declare variables before you use them. AFAIK
there's no such thing in PHP (unfortunately).
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found.
To: '[EMAIL PROTECTED]'
Subject: Re: [PHP] use strict alternative
"use strict" forces you to declare variables before you use
them. AFAIK
there's no such thing in PHP (unfortunately).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
3 matches
Mail list logo