rfc:variadic_empty
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:variadic_empty [2015/02/25 18:06] – tpunt | rfc:variadic_empty [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2015-02-20 | * Date: 2015-02-20 | ||
* Author: Thomas Punt, tpunt@hotmail.co.uk | * Author: Thomas Punt, tpunt@hotmail.co.uk | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 26: | Line 26: | ||
The proposal is to change '' | The proposal is to change '' | ||
- | As the above snippet demonstrates, | + | As the above snippet demonstrates, |
===== Justification ===== | ===== Justification ===== | ||
Line 32: | Line 32: | ||
In PHP, it is not uncommon to see conditionals consisting of multiple '' | In PHP, it is not uncommon to see conditionals consisting of multiple '' | ||
- | WordPress (( https:// | + | WordPress (( https:// |
<code php> | <code php> | ||
if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args[' | if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args[' | ||
Line 53: | Line 53: | ||
And so on... | And so on... | ||
- | So this seems like quite a common need for users, and one that cannot be emulated in user-land code because of '' | + | So this seems like quite a common need for users, and one that cannot be emulated in user-land code because of '' |
- | Also, this change will make '' | + | This change will also make '' |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 66: | Line 66: | ||
The current functionality of '' | The current functionality of '' | ||
- | ===== Proposed Voting Choices | + | ===== Vote ===== |
- | Because this is a language change, a 2/3 majority is required. | + | Because this is a language change, a 2/3 majority is required. It is a simple yes/no vote on whether '' |
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
+ | Voting starts on 2015-03-07 and ends on 2015-03-21. | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
PR: https:// | PR: https:// |
rfc/variadic_empty.1424887617.txt.gz · Last modified: 2017/09/22 13:28 (external edit)