diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2019-11-15 12:47:32 -0500 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-11-18 11:24:03 +0300 |
commit | a2c41c0ea6e6b6afbfaaeae25e66fd17e746a98a (patch) | |
tree | 3d599b8e163bc0596555a4a7b6b8ffbc5126b234 /sapi/apache2handler/php_functions.c | |
parent | 2c9926f156b2be6aa4f69a169d028c1ebc1eaa34 (diff) | |
download | php-git-a2c41c0ea6e6b6afbfaaeae25e66fd17e746a98a.tar.gz |
Fix $x = (bool)$x; for undefined with opcache
And `$x = !$x`
Noticed while working on GH-4912
The included test would not emit undefined variable errors in php 8.0
with opcache enabled. The command used:
```
php -d zend_extension=opcache.so --no-php-ini -d error_reporting=E_ALL \
-d opcache.file_cache= -d opcache.enable_cli=1 test.php
```
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
0 files changed, 0 insertions, 0 deletions