#19238 [Fbk->Bgs]: Why must I define all variable
ID: 19238
Updated by: hholzgra@php.net
Reported By: jfinander@hotmail.com
-Status: Feedback
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows/Apache
PHP Version: 4.2.1
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-09-04 23:32:13] kalowsky@php.net
and what are the differences between the php.ini files?
------------------------------------------------------------------------
[2002-09-04 19:46:15] jfinander@hotmail.com
In earlier versions of PHP there was no need to define a variable
before calling it ie.
if(!uname){
echo("Incorect");
}
Now all my old code doesn't work and I must replace it with
if(empty($uname)){
echo("incorrect");
}
I have tried turning the regiser_globals on and off in the .ini file as
well as the adding ~E_NOTICE to teh error line...
The only thing that works is using a previous .ini file.. but I need to
know WHY?
thanks
Jesse
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19238&edit=1
Thread (3 messages)