3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { } var_dump(empty(foo()));

preferences:
51.72 ms | 407 KiB | 5 Q