3v4l.org

run code in 300+ PHP versions simultaneously
<?php $u= readline("input: "); $b = "meow" if ($u == $b){ print("meow") } else{ print("fuck") } ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Parse error: syntax error, unexpected 'if' (T_IF) in /in/AlrjK on line 5
Process exited with code 255.

preferences:
174.34 ms | 1399 KiB | 35 Q