php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9818 variables
Submitted: 2001-03-18 05:35 UTC Modified: 2001-03-18 07:21 UTC
From: dsabri at bir dot net dot tr Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.4pl1 OS: windows 98
Private report: No CVE-ID: None
 [2001-03-18 05:35 UTC] dsabri at bir dot net dot tr
I tested this codes pws+win98 and IIS+WIN2K;

<?
echo "$something";
?>

Error:
Warning: Undefined variable: t in C:\Inetpub\wwwroot\4.php on line 3



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-18 07:21 UTC] hholzgra@php.net
using a varibale before giving it a value is evil

thats what the message tells you

remove E_NOTICE from error reporting level
if you really want to be evil without warnings
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC