<?php $arr = array(1, null, '' , 'teste'); var_dump(isset($arr[1]));var_dump(array_key_exists(1, $arr));
Standard input is empty
bool(false) bool(true)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!