rfc:is-countable
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:is-countable [2018/01/21 18:01] – created carusogabriel | rfc:is-countable [2018/01/21 21:45] – Emphasis type carusogabriel | ||
---|---|---|---|
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 76: | Line 76: | ||
</ | </ | ||
- | === Example #1: is_countable with conditions === | + | === Example #2: is_countable with conditions === |
<code php> | <code php> | ||
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 ===== | ||
Line 113: | Line 113: | ||
===== References ===== | ===== References ===== | ||
- | https:// | + | https:// |
+ | https:// |
rfc/is-countable.txt · Last modified: 2018/03/02 17:07 by carusogabriel