3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function access_account(){ // if it is a user // Changing this global $is_user; global $is_user; if ( ! $is_user ): goto (get_site_url().'/logout'); endif; }
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '(', expecting identifier (T_STRING) in /in/6QScQ on line 10
Process exited with code 255.
Output for 5.3.7 - 5.3.28
Parse error: syntax error, unexpected '(', expecting T_STRING in /in/6QScQ on line 10
Process exited with code 255.