Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

calculate array length in php

<?php
  //use count($var) ->
$a[0] = 1;
$a[1] = 3;
$a[2] = 5;
var_dump(count($a));
 
PREVIOUS NEXT
Tagged: #calculate #array #length #php
ADD COMMENT
Topic
Name
6+4 =