ID:               20119
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Linux
 PHP Version:      4.2.3
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


Previous Comments:
------------------------------------------------------------------------

[2002-10-27 09:08:21] [EMAIL PROTECTED]

I noticed that unknown variable messages have changed from E_WARNING to
E_NOTICE.
With PHP Version 4.1.2 the follwing code gives a warning message that
$foo is not known. I Upgraded to PHP 4.2.3 and now there is *no*
message anymore :-(

<?
error_reporting(E_ALL);
class bla {
  var $foo;
  function bla() {
    echo $this->foo;
  }
}

$c = new bla();
// the follwoing line stille produces a message:
//echo $bar;

?>




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20119&edit=1

Reply via email to