3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace FOO; function if(){}
based on WcL7k
Output for 5.6.38 - 7.3.0rc3
Parse error: syntax error, unexpected 'if' (T_IF), expecting '(' in /in/KasYA on line 4
Process exited with code 255.