3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', 'On'); error_reporting(E_ALL); $a = false; echo '$a["foo"] is ', $a['foo'] != null ? '' : 'not ', 'set';

preferences:
37.37 ms | 405 KiB | 5 Q