3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $not_array = false; // Case #1, incorrect: only 'PHP Warning: Undefined array key "nonexistant"' is logged echo (array_key_exists($_REQUEST['nonexistant'], $not_array) ? "yes" : "no");

preferences:
30.91 ms | 402 KiB | 5 Q