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
Directory iteration builtins are undefined in this compiler. scandir() exists, but php-src also exposes handle-based directory reading used by frameworks and legacy code:
Activity
PurHur commentedon Jun 1, 2026
claim: PHP Compiler STD Lib — starting this run
PurHur commentedon Jun 1, 2026
Merged via #4030.
Verification
```bash
source script/php-env.sh
vendor/bin/phpunit --filter 'VMTest.*opendir|AotTest.*opendir'
OK (3 tests, 7 assertions)
```
AOT smoke: `opendir` + `readdir` loop over `test/fixtures/aot/cases` returns 520 entries.
Stdlib: opendir/readdir/closedir/rewinddir with VM and AOT (closes #3235