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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dsabri at bir dot net dot tr
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 23:01:29 2025 UTC