ID: 28830
User updated by: mdhp at gmx dot de
Reported By: mdhp at gmx dot de
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: linux
PHP Version: 5.0.0RC3
New Comment:
My mistake... please forget my error report :-(
In html page the notice will be displayed in form tag
Previous Comments:
------------------------------------------------------------------------
[2004-06-18 16:10:13] mdhp at gmx dot de
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28830&edit=1