Le 02/07/13 18:40, Thomas Gries a écrit :
- isset( $array['key'][0] )
- array_key_exists( 0, $array['key'] )
isset() acts on the value while the second look for a key. So they are slightly difference.
I use array_key_exists() which is explicit and well known. I tend to forget isset() is really isset_and_not_null(), part of the reasons I dislike PHP :-]