3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $test['a'] = 123; var_dump( isset($test['a']) ? $test['a'] : isset($test['b']) ? $test['b'] : "default" );

preferences:
24.53 ms | 404 KiB | 5 Q