# [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

- Thread: https://externals.io/message/87870
- Original archive: https://news-web.php.net/php.internals/87870
- Started by Anthony Ferrara on 2015-08-22T19:58:56+00:00
- Messages: 2
- RFC: Random Functions throwing Exceptions (Implemented (PHP 7.0)) — https://externals.io/rfc/random-function-exceptions.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

---

## #87870 — Anthony Ferrara — 2015-08-22T19:58:56+00:00

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

All,

I am putting a simple RFC up for discussion to make random_* throw
exceptions on failure in order to ensure we fail-closed.

https://wiki.php.net/rfc/random-function-exceptions

Considering this topic has already been discussed, I intend to open
voting on this as soon as allowable. Given the voting policy specifies
2 weeks for language changes and 1 week for another, this is assumed
to require 1 week of "discussion".

With that in mind, I intend to put this RFC up to vote on August 29/30th.

Thanks!

Anthony

---

## #87871 — Scott Arciszewski — 2015-08-22T20:47:50+00:00

URL: https://externals.io/message/87870#87871 · In reply to: #87870

> All,
>
> I am putting a simple RFC up for discussion to make random_* throw
> exceptions on failure in order to ensure we fail-closed.
>
> https://wiki.php.net/rfc/random-function-exceptions
>
> Considering this topic has already been discussed, I intend to open
> voting on this as soon as allowable. Given the voting policy specifies
> 2 weeks for language changes and 1 week for another, this is assumed
> to require 1 week of "discussion".
>
> With that in mind, I intend to put this RFC up to vote on August 29/30th.
>
> Thanks!
>
> Anthony
>
> --
> 
> 
>

That still gives us plenty of time before 7.0.0 is finalized, so I
find this agreeable.

Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com
