# [RFC] [VOTE] Warnings for PHP 8.5

- Thread: https://externals.io/message/128290
- Original archive: https://news-web.php.net/php.internals/128290
- Started by Gina P. Banyard on 2025-07-29T09:05:43+00:00
- Messages: 3
- RFC: Warnings for PHP 8.5 (Implemented (PHP 8.5)) — https://externals.io/rfc/warnings-php-8-5.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #128290 — Gina P. Banyard — 2025-07-29T09:05:43+00:00

URL: https://externals.io/message/128290#128290

Hello internals,

I have opened the votes for the warnings:
https://wiki.php.net/rfc/warnings-php-8-5

The vote will run for two weeks until the 12th of August 2025.

Please remember that the wiki is only capable to handle a single vote at a time,
so please submit each vote you intend on casting individually.

Best regards,

Gina P. Banyard

---

## #128294 — Jakub Zelenka — 2025-07-29T12:06:23+00:00

URL: https://externals.io/message/128290#128294 · In reply to: #128290

Hi,



> Hello internals,
>
> I have opened the votes for the warnings:
> https://wiki.php.net/rfc/warnings-php-8-5
>
>
Just for the record I voted No on those isset and empty warnings as I don't
think they should be emitting warning in this case - it might be quite
surprising for users and have a BC impact for them (e.g. they might be
checking output from internals functions where false is returned and
currently they don't need to care for that which I think make more sense
for those functions).

Kind regards,

Jakub

---

## #128450 — Gina P. Banyard — 2025-08-12T10:12:49+00:00

URL: https://externals.io/message/128290#128450 · In reply to: #128290

Hello internals,

I have now closed the votes for the "Warnings for PHP 8.5" RFC:
https://wiki.php.net/rfc/warnings-php-8-5

The following proposals have been accepted:

- Warn when coercing `NAN` to other types (20 yay, 0 nay, 100%)
- Casting out of range floats to int (17 yay, 0 nay, 100%)
- Destructuring non-array values (16 yay, 0 nay, 100%)

The following proposals have been declined:

- Warn when using offsets on non-container values in isset()/empty() (10 yay, 6 nay, 62.5%)
- Warn when using invalid offset types when checking string offsets with isset()/empty() (10 yay, 6 nay, 62.5%)

Thank you to everyone that has voted and participated in the discussions.

Best regards,

Gina P. Banyard
