<?php public function route() { if (empty($_COOKIE['user_id'])) { $this->actionRegister(); } else { $this->action(); } }
Standard input is empty
Standard output is empty
PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/hnuJgr/prog.php on line 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!