Thanks to visit codestin.com Credit goes to 3v4l.org
<?php $a = ['51' => 1]; if (array_key_exists('51', $a)) { echo 'ok string 51'; } echo '---'; if (array_key_exists(51, $a)) { echo 'ok int 51'; }
You have javascript disabled. You will not be able to edit any code.