|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-18 16:20 UTC] mdhp at gmx dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
Description: ------------ When you set error_reporting to E_ALL only, not initalized vars displayed with a notice on screen. But when a var is in quote of html no error will be displayed, is that an error??? Reproduce code: --------------- <? class abc { function foo() { echo $actionLink; // displays notice correct in line 7 // but in the following line no notice displayed ?> <form name="form1" action="<? echo $actionLink; ?>" method="post"> <? echo $actionLink; // displays notice correct for this line } // foo } // class abc abc::foo(); ?> Expected result: ---------------- 3 Notices In line 7, 10 and 12 Actual result: -------------- 2 Notices In line 7 and 12