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
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: 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

Pull Requests

History

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