Bug #14285 Updated: Forcing variable declaration

From: Date: Thu, 29 Nov 2001 16:20:18 +0000
Subject: Bug #14285 Updated: Forcing variable declaration
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72038@lists.php.net to get a copy of this message
ID: 14285
Updated by: derick
Reported By: pnh102@psu.edu
Old Status: Open
Status: Closed
Bug Type: *General Issues
Operating System: Redhat Linux 7.2
PHP Version: 4.0.6
New Comment:

set error_reporting to E_ALL, and you'll see all undefined vars. However, it doesn't force
the use of it.

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-11-29 11:17:16] pnh102@psu.edu

Is there a way to make PHP force you to declare variables like "option explicit" in
VBScript or "use strict" in Perl?  If not, will this feature become available?  While this
is not really a bug, it might be a nice feature to have available.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14285&edit=1



Thread (4 messages)

« previous php.dev (#72038) next »