# [VOTE] Make unserialize() emit a warning for trailing bytes

- Thread: https://externals.io/message/119945
- Original archive: https://news-web.php.net/php.internals/119945
- Started by tim@bastelstu.be on 2023-04-12T07:59:57+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #119945 — tim@bastelstu.be — 2023-04-12T07:59:57+00:00

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

Hi

I just opened the vote for the "Make `unserialize()` emit a warning for 
trailing bytes" RFC. The RFC contains a single vote that requires a 2/3 
majority to pass. Voting runs 2 weeks until 2023-03-26 08:30 UTC.

Please find the following resources for your references:

RFC Text: https://wiki.php.net/rfc/unserialize_warn_on_trailing_data
PoC Implementation: https://github.com/php/php-src/pull/9630
Discussion Thread: https://externals.io/message/119745

Best regards
Tim Düsterhus

---

## #119946 — tim@bastelstu.be — 2023-04-12T08:01:45+00:00

URL: https://externals.io/message/119945#119946 · In reply to: #119945

Hi


> Voting runs 2 weeks until 2023-03-26 08:30 UTC.

That should have read 2023-**04**-26 08:30 UTC, of course. Apparently 
I'm living in the past. I apologize for the confusion.

Best regards
Tim Düsterhus

---

## #120141 — tim@bastelstu.be — 2023-04-27T07:34:27+00:00

URL: https://externals.io/message/119945#120141 · In reply to: #119945

Hi


> I just opened the vote for the "Make `unserialize()` emit a warning for
> trailing bytes" RFC. The RFC contains a single vote that requires a 2/3
> majority to pass. Voting runs 2 weeks until 2023-03-26 08:30 UTC.
> 

Whoops, I forgot about that yesterday, but luckily the results were 
completely clear:

The RFC was unanimously accepted with 20 (yes) to 0 (no) votes.

Best regards
Tim Düsterhus
