php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11601 E_NOTICE produces a Warning
Submitted: 2001-06-21 02:09 UTC Modified: 2002-01-28 20:58 UTC
From: philip at cornado dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.5 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: philip at cornado dot com
New email:
PHP Version: OS:

 

 [2001-06-21 02:09 UTC] philip at cornado dot com
An example :

<?php
  error_reporting(E_NOTICE);

  print $iamundefined;
?>

The following results :

Warning: Undefined variable: iamundefined in ./files/tmp.php on line 4

It would be more appropriate if this gave a Notice: as opposed to a Warning:

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-28 20:58 UTC] yohgaki@php.net
It seems fixed at least in ZE2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 16:01:35 2024 UTC