rfc:is-countable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
rfc:is-countable [2018/01/21 18:01] – created carusogabrielrfc: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 is is an //array// or an object implementing //Countable//+Verify that the content of a variable is an //array// or an object implementing //Countable//
  
 ==== Parameters ==== ==== Parameters ====
Line 76: Line 76:
 </code> </code>
  
-=== 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://wiki.php.net/rfc/counting_non_countables+https://wiki.php.net/rfc/counting_non_countables\\ 
 +https://externals.io/message/101648
rfc/is-countable.txt · Last modified: 2018/03/02 17:07 by carusogabriel