3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 3 + "15%" + "$25" echo $x;
Output for 5.4.0 - 5.6.30, 7.0.0 - 7.1.8
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/DFME6 on line 4
Process exited with code 255.
Output for hhvm-3.11.1 - 3.17.3
Fatal error: Uncaught Error: syntax error, unexpected T_ECHO in /in/DFME6:4 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.1
Fatal error: syntax error, unexpected T_ECHO in /in/DFME6 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_ECHO in /in/DFME6 on line 4
Process exited with code 255.