Bug #70637 [NEW]: PHP errors inside invisible html tag

From: Date: Sun, 04 Oct 2015 17:36:53 +0000
Subject: Bug #70637 [NEW]: PHP errors inside invisible html tag
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196389@lists.php.net to get a copy of this message
From: bengusc at gmail dot com Operating system: Windows 10 PHP version: 7.0.0RC4 Package: Output Control Bug Type: Bug Bug description:PHP errors inside invisible html tag Description: ------------ When a PHP error occurs inside a invisible html tag like title it is not able to notify us about this... The html table with error is there but it stay inside that html tag and so it does not take effect. Test script: --------------- 1. <title><?= ClassName::method(); ?></title> 2. <title><?= ClassName; ?></title> 3. <title><?= function_name(); ?></title> 4. <title><?= $variable_name; ?></title> 5. <title><?= $123; ?></title> (works, the error is shown and out of html tag) -- Edit bug report at https://bugs.php.net/bug.php?id=70637&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70637&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70637&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70637&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70637&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70637&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70637&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70637&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70637&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70637&r=support Expected behavior: https://bugs.php.net/fix.php?id=70637&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70637&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70637&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70637&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70637&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70637&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70637&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70637&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70637&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70637&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70637&r=mysqlcfg

« previous php.bugs (#196389) next »