3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { return 1; } if (!test()==0) { echo "true"; }
based on c30pj
Output for 7.2.0 - 7.2.34, 7.3.0 - 7.3.24, 7.4.0 - 7.4.12, 8.0.0
true