3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php assert_options( ASSERT_ACTIVE, 0 ) ; $things = "thing"; $here = "here"; assert( (function() use($things, $here) { /* statements here */ echo "running\n" ; return false; })(), new RuntimeException("nope!")); ?>
based on QWHAX
Output for 7.0.0 - 7.2.0
running
Output for 5.3.18 - 5.6.28
Parse error: syntax error, unexpected '(' in /in/LY8iR on line 11
Process exited with code 255.