Bug #76284 [Fbk->NoF]: auto_globals_jit doesn't detect all types of superglobal use
| From: | php-bugs at lists dot php dot net | Date: | Sun, 26 Sep 2021 04:22:14 +0000 |
| Subject: | Bug #76284 [Fbk->NoF]: auto_globals_jit doesn't detect all types of superglobal use | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236846@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76284&edit=1
ID: 76284
Updated by: php-bugs@lists.php.net
Reported by: jocrutrisi at ibsats dot com
Summary: auto_globals_jit doesn't detect all types of
superglobal use
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Scripting Engine problem
Operating System: Linux
PHP Version: 7.2.5
Assigned To: cmb
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:
------------------------------------------------------------------------
[2021-09-13 08:07:54] cmb@php.net
If this is still an issue for you with any of the actively
supported PHP versions[1], please tell us the affected SAPI, and
also check @nikic's comment above.
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2018-06-24 09:18:06] nikic@php.net
Just tried this as well. I also can't reproduce under both cli and cli-server.
Can you please check if this occurs when running with -n? (I.e. php -n -d error_reporting=E_ALL -d
auto_globals_jit=1)
------------------------------------------------------------------------
[2018-06-24 04:25:45] php-bugs at lists dot php dot net
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.
------------------------------------------------------------------------
[2018-05-03 20:04:20] jocrutrisi at ibsats dot com
Hello, the samples I posted above are sufficient to reproduce the problems for me.
I just enable auto_globals_jit, make sure error reporting (and optionally error display) are on, and
then:
<?php
$foo = $_ENV;
?>
This will produce:
<br />
<b>Notice</b>: Undefined variable: _ENV in <b>[...][...]</b> on line
<b>2</b><br />
If you can't reproduce this, we might need to narrow down the situation. I only have access to
7.2.4 right now, BTW, but this wasn't available in the drop-down with versions, so I had to
specify 7.2.5, seeing as the list of fixes contains nothing relevant.
------------------------------------------------------------------------
[2018-04-29 04:59:50] requinix@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Works for me, and that exact code you posted won't do the job anyways. The repro script has to
be precise, not some summarized version of your tests.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=76284
--
Edit this bug report at https://bugs.php.net/bug.php?id=76284&edit=1