mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
868930e079
Using a non-literal expression in a declare value can cause the compiler to crash trying to turn that AST node into a usable zval. There was an existing test for such values using 'encoding', but that didn't crash because it's handled by the lexer rather than being compiled. Trying to use a non-literal with ticks reproduces the crash.
231 B
231 B