fork download
  1. <?php
  2.  
  3. $array = array(
  4. "user" => "user1",
  5. "name" => "name1",
  6. "books" => array( "book1", "book2" )
  7. );
  8.  
  9. echo 'RESULTADO:', count($array);
Success #stdin #stdout 0.02s 82560KB
stdin
Standard input is empty
stdout
RESULTADO:3