Bug #70637 [Opn->Nab]: PHP errors inside invisible html tag
| From: | ab@php.net | Date: | Mon, 05 Oct 2015 09:31:16 +0000 |
| Subject: | Bug #70637 [Opn->Nab]: PHP errors inside invisible html tag | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196393@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70637&edit=1
ID: 70637
Updated by: ab@php.net
Reported by: bengusc at gmail dot com
Summary: PHP errors inside invisible html tag
-Status: Open
+Status: Not a bug
Type: Bug
Package: Output Control
Operating System: Windows 10
PHP Version: 7.0.0RC4
Block user comment: N
Private report: N
New Comment:
Thanks for the report. However it is more related to how you design the error reporting and debug
the scripts.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-10-04 17:36:53] bengusc at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=70637&edit=1