3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = empty($_GET['t2']) ? $_GET['t2'] : 'test'; $t = empty($_GET['t2']) ? 'test' : $_GET['t2']; echo '<pre>'.print_r($t, true).'</pre>';