|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-27 09:14 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 10:00:01 2025 UTC |
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; ?>