rfc:random-function-exceptions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:random-function-exceptions [2015/08/22 19:36] – Target 7.0.0 directly ircmaxell | rfc:random-function-exceptions [2015/09/06 19:57] – Move to Accepted ircmaxell | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP RFC: Core Functions Throwing Exceptions in PHP 7 ====== | + | ====== PHP RFC: Random |
- | * Version: | + | * Version: 1.0 |
* Date: 2015-08-22 | * Date: 2015-08-22 | ||
* Author: Anthony Ferrara < | * Author: Anthony Ferrara < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | Concern has been raised over the way failure is indicated by several functions in the core that are often used for security purposes. These functions may fail open, allowing execution to continue, potentially compromising the security of an application. Failure of these functions is only indicating failure through a return value that may be inappropriate cast and used or requiring further function calls to check for failure. It is far to easy for an uninformed programmer to be unaware of the potential for failure and the consequences of neglecting to check for failure, so it is imperative that these functions fail closed, so execution cannot continue if the error is ignored. | + | Concern has been raised over the way failure is indicated by several functions in the core that are often used for security purposes. These functions may fail open, allowing execution to continue, potentially compromising the security of an application. Failure of these functions is only indicating failure through a return value that may be inappropriate cast and used or requiring further function calls to check for failure. It is far too easy for an uninformed programmer to be unaware of the potential for failure and the consequences of neglecting to check for failure, so it is imperative that these functions fail closed, so execution cannot continue if the error is ignored. |
The following functions are addressed by this RFC: | The following functions are addressed by this RFC: | ||
Line 38: | Line 38: | ||
* Throws '' | * Throws '' | ||
* Throws '' | * Throws '' | ||
- | * Throws '' | + | * Throws '' |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 52: | Line 52: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
* Throw exceptions | * Throw exceptions | ||
+ | |||
+ | ===== Vote ===== | ||
+ | |||
+ | This vote will close on 07:00 UTC on Sunday 06-09-2015 | ||
+ | |||
+ | < | ||
+ | title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== |
rfc/random-function-exceptions.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1