rfc:is-countable
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:is-countable [2018/01/21 21:00] – Fix example number and add externals link carusogabriel | rfc:is-countable [2018/02/26 17:54] – Reverse type as voting has a relationship with it carusogabriel | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2018-01-21 | * Date: 2018-01-21 | ||
* Author: Gabriel Caruso (< | * Author: Gabriel Caruso (< | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 52: | Line 52: | ||
bool is_countable(mixed $var) | bool is_countable(mixed $var) | ||
| | ||
- | Verify that the content of a variable | + | Verify that the content of a variable is an //array// or an object implementing // |
==== Parameters ==== | ==== Parameters ==== | ||
Line 101: | Line 101: | ||
===== Future Scope ===== | ===== Future Scope ===== | ||
- | Is out of scope, but a new countable type could be cogitated in the future. | + | Is out of scope, but a new //countable// type could be cogitated in the future. |
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | Since this is not a PHP language changed, a 50% + 1 majority is required. | + | Since this is not a PHP language changed, a 50% + 1 majority is required. |
+ | |||
+ | Voting begins **2018-02-26 17:00 UTC** and ends **2018-03-02 17:00 UTC**. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Proposal and Patch ===== | ===== Proposal and Patch ===== |
rfc/is-countable.txt · Last modified: 2018/03/02 17:07 by carusogabriel