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:
56.86 ms | 404 KiB | 5 Q