Array length: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 8: Line 8:


<lang php>print count(['apple', 'orange']); // Returns 2</lang>
<lang php>print count(['apple', 'orange']); // Returns 2</lang>

== SQL ==

<lang sql>SELECT COUNT() FROM (VALUES ('apple'),('orange'));</lang>


== See also ==
== See also ==