Thanks to visit codestin.com
Credit goes to 3v4l.org

3v4l.org

run code in 500+ PHP versions simultaneously
<?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'; }
Output for 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
ok string 51---ok int 51

preferences:
20.45 ms | 705 KiB | 4 Q