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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 + 29 = ?
Subscribe to this entry?

 
 [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 15:01:36 2024 UTC