Posted By

d0ri0 on 05/12/10


Tagged


Versions (?)

check if array is associative or sequential


 / Published in: PHP
 

  1. function is_assoc($a){
  2. return (array_keys($values) != array_keys(array_keys($values)));
  3. }

Report this snippet  

You need to login to post a comment.