You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A class declared under if (\false) fails to lower, while if (false) compiles: "unsupported statement kind Class". #625
Reported in #614 (item 9). Seen in google/apiclient src/aliases.php and nikic/php-parser compat stubs (Node/Expr/ArrayItem.php).
<?phpclass Real {}
if (\false) {
class Legacy extends Real {}
}
echo"ok\n";
php 8.5: ok · manticore 0.18.0: MIR.lower: unsupported statement kind Class at line 4
Fixed on branch wordpress (unmerged): cdd17ee7 (conditional declaration hoisting); repro verified green with that branch's binary. Constant folding of a fully-qualified \false/\true/\null is still worth a direct test.
Activity