fork download
  1. <?php
  2.  
  3. $arr = array(1, null, '' , 'teste');
  4.  
  5. var_dump(isset($arr[1]));
Success #stdin #stdout 0.02s 23756KB
stdin
Standard input is empty
stdout
bool(false)
bool(true)