#20474 [Opn->Csd]: Loging

From: Date: Mon, 18 Nov 2002 08:06:22 +0000
Subject: #20474 [Opn->Csd]: Loging
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25162@lists.php.net to get a copy of this message
ID: 20474 Updated by: derick@php.net Reported By: netim@icentrum.pl -Status: Open +Status: Closed -Bug Type: Unknown/Other Function +Bug Type: Feature/Change Request PHP Version: 4.3.0RC1 New Comment: Do I correctly understand that you want that PHP emits warnings of you use globals in your script? The best way to check for this is to set error_reporting(E_ALL); as the first line of your script. It then shows all reads for variables which were not initialized before. If you feel that that is not enough, please change the status back to open. Previous Comments: ------------------------------------------------------------------------ [2002-11-18 02:03:03] netim@icentrum.pl I rewrited my scripts and now i'm not using globals wariables... but when I set register_globals = off sometime scripts don't work... When register_globals = On Php should loging notice for example "In line X you use a global variable"... Marek Wróbel ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20474&edit=1

« previous php.bugs (#25162) next »