Re: [RFC] Grouped ValueError Conversions for PHP 8.6 (mkdir example)

From: Date: Wed, 18 Feb 2026 23:50:46 +0000
Subject: Re: [RFC] Grouped ValueError Conversions for PHP 8.6 (mkdir example)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-130093@lists.php.net to get a copy of this message
Hi, On Wed, Feb 18, 2026 at 8:39 PM Muhammed Arshid KV <arshidkv12@gmail.com> wrote: > 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 > Please check the deprecation RFC out: https://wiki.php.net/rfc/deprecations_php_8_6 . It should be done in a similar way with section for each different case. There should be then multiple votes. Cheers Jakub

« previous php.internals (#130093) next »