Bug #72236 [Fbk->NoF]: including script with "${}" crashes the engine
| From: | php-bugs at lists dot php dot net | Date: | Sun, 29 May 2016 04:22:21 +0000 |
| Subject: | Bug #72236 [Fbk->NoF]: including script with "${}" crashes the engine | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201311@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72236&edit=1
ID: 72236
Updated by: php-bugs@lists.php.net
Reported by: jeorme dot colardelle at gmail dot com
Summary: including script with "${}" crashes the engine
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Reproducible crash
PHP Version: Irrelevant
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2016-05-18 11:30:21] cmb@php.net
> I can not reproduce this
Me neither. Both PHP 5.6.18 and PHP 7.0.6 (on Windows) report a
parse error.
To the OP: please mention the exact PHP version and the OS on
which this behavior occurred. Also double-check that
error_reporting & friends are appropriately configured.
------------------------------------------------------------------------
[2016-05-18 09:43:55] laruence@php.net
I can not reproduce this
------------------------------------------------------------------------
[2016-05-18 08:17:00] jeorme dot colardelle at gmail dot com
Description:
------------
If you try to include a file that contains "${}" (empty variable in a double quote d
string), php crash on the include instruction, no log is generated.
I'd expect a parse error pointing the faulty code.
Test script:
---------------
fileA :
include "fileB.php";
-------------------------
fileB :
$test = "test ${}";
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72236&edit=1