[php-src] Issue #8418: The influence of opcache on the behavior of enum cases.
| From: | nikic | Date: | Sun, 24 Apr 2022 14:53:22 +0000 |
| Subject: | [php-src] Issue #8418: The influence of opcache on the behavior of enum cases. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241214@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8418
Comment Author: nikic
We should probably set ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION while evaluating the enum value to
avoid the discrepancy with and without opcache (by always making it an error).