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
 [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: Fri May 10 06:01:31 2024 UTC