3v4l.org

run code in 500+ PHP versions simultaneously
<?php $things = "thing"; $here = "here"; assert((function() use($things, $here) { /* statements here */ return false; })(), new RuntimeException("nope!")); ?>

preferences:
118 ms | 2038 KiB | 5 Q