3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo '---begin---'; try { $result = @create_function('', 'return (return 1);'); } catch (\Exception $ex) { $result = $ex->getException(); } echo '---end---'; var_dump($result);

preferences:
22.32 ms | 504 KiB | 6 Q