Skip to content

Stdlib: DirectoryIterator family missing path UnexpectedValueException (#31506) - #31510

Merged
PurHur merged 1 commit into
masterfrom
agent/stdlib-31506-spl-dir-unexpected
Aug 16, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/stdlib-31506-spl-dir-unexpected

Conversation

@PurHur

@PurHur PurHur commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #31506

Test plan

  • Zend vs bin/vm.php on test/repro/maintainer_gap_spl_dir_missing_unexpected.php — identical (path normalized)
  • ./script/phpunit.sh --filter DirectoryIteratorMissing31506 — OK (1 test)

php-src: ext/spl/spl_directory.c

Made with Cursor

#31506)

Match php-src spl_directory.c: open failure throws UnexpectedValueException and
labels the message with the concrete iterator class name.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant