Bug #70637 [Nab]: PHP errors inside invisible html tag
| From: | bengusc at gmail dot com | Date: | Mon, 05 Oct 2015 11:44:16 +0000 |
| Subject: | Bug #70637 [Nab]: PHP errors inside invisible html tag | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196396@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
User updated by: bengusc at gmail dot com
Reported by: bengusc at gmail dot com
Summary: PHP errors inside invisible html tag
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:
I'm trying to make it work using error reporting but no result. Do you have any idea?
Previous Comments:
------------------------------------------------------------------------
[2015-10-05 09:31:15] ab@php.net
Thanks for the report. However it is more related to how you design the error reporting and debug
the scripts.
Thanks.
------------------------------------------------------------------------
[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