Re: [RFC] Deprecations for PHP 8.5
| From: | Morgan | Date: | Wed, 16 Jul 2025 04:47:18 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128072@lists.php.net to get a copy of this message | ||
On 2025-07-03 20:34, Morgan wrote:
On 2025-07-03 07:56, Gina P. Banyard wrote: Deprecate using values of type null and bool as array offsets and when calling array_key_exists() Still curious about this. What have you got against$branch = [false => $fail, true => $pass]; or $taken = $branch[$test == $match]; ?