Closed Hidanio closed 2 months ago
PHP Version: 7.4
OS: macOS (Sonoma 14.3)
The minimal code in which the bug appears:
<?php declare(strict_types = 1); function test() { $special_items = null; $test = [...$special_items]; }
Actual Behavior:
Panic while parsing XXXXX: runtime error: slice bounds out of range [5:4]
Expected Behavior:
No exceptions
PHP Version: 7.4
OS: macOS (Sonoma 14.3)
The minimal code in which the bug appears:
Actual Behavior:
Panic while parsing XXXXX: runtime error: slice bounds out of range [5:4]
Expected Behavior:
No exceptions