New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP's auto_globals_jit=1 makes the PHAR unusable on some runtimes #3514
Comments
Thank you for your report. Please provide a minimal, self-contained, reproducing test case that shows the problem you are reporting. Without such a minimal, self-contained, reproducing test case I will not be able to investigate this issue. |
Here is a reproducer repo: Sorry about it being in a Docker image, it's the only way I've managed to reproduce it for sure. Not sure why it's not longer outputting the exact error as before. The PHAR used is downloaded like this: |
Sorry, but this does not fit into my workflow. |
I understand, feel free to close the issue if no value was created here. 👍 |
FYI duplicate of #3352. |
If you run with
auto_globals_jit=1
(which seems to be the default in PHP 7.2), you might get an erroror a notice about missing
_SERVER
in$GLOBALS
(depening on the PHP's current error level, I guess).It looks like it's because of
phpunit/build/binary-phar-autoload.php.in
Line 18 in ae06eaf
The text was updated successfully, but these errors were encountered: