MorganLOCode

Results issues of MorganLOCode

From manual page: https://php.net/language.variables.scope --- Example 7 says that `static $int = sqrt(121);` is wrong. This has not been updated for 8.3, which allows static variables to be initialised with...

bug

### Description In the interactive shell, starting a heredoc statement puts the shell into a state (indicated by prefixing each input line with `

Bug
Extension: readline
SAPI: cli
Status: Verified

### Description The following code: ```php array_map(fn($b) => $a + $b, $array)); ``` Resulted in this (level 2) opcode output: ``` $_main: ; (lines=7, args=0, vars=2, tmps=1) ; (after optimizer)...

Bug
Category: Engine
Status: Verified

**Describe the bug** In the code snippet below (stripped down from a much larger method), the uses of `$variable` and `$values` in the anonymous function are reported undefined (P1008), despite...

bug