From: mdhp at gmx dot de
Operating system: linux
PHP version: 5.0.0RC3
PHP Bug Type: *General Issues
Bug description: Notice reporting E_ALL for not initialized vars
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 bug report at http://bugs.php.net/?id=28830&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28830&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28830&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28830&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28830&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28830&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28830&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28830&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28830&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28830&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28830&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28830&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28830&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28830&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28830&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28830&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28830&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28830&r=float