[RFC] Grouped ValueError Conversions for PHP 8.6 (mkdir example)
| From: | Muhammed Arshid KV | Date: | Wed, 18 Feb 2026 19:32:15 +0000 |
| Subject: | [RFC] Grouped ValueError Conversions for PHP 8.6 (mkdir example) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-130090@lists.php.net to get a copy of this message | ||
Hello internals,
Following maintainer feedback, I’ve created an RFC to group multiple
warning → ValueError conversions for PHP 8.6 instead of proposing many
small RFCs.
The initial example includes mkdir() where invalid permission values
(outside 0..07777) would throw ValueError instead of emitting a warning and
returning false.
RFC draft:
https://wiki.php.net/rfc/php86_valueerror_conversions
Initial implementation PR:
https://github.com/php/php-src/pull/21152
Feedback is welcome.
Thanks,
Muhammed Arshid KV