3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php public function employer_application_submission($params = array()) { $share_link = ''; if ((isset($params['video_link'])) && ($params['video_link'] != false)) { $link = 'http://video.careerone.com.au/ats.php?url=' . $params['video_link']; } else { $link = site_url('employer/dashboard'); } $body = 'You have a new Video Response for Job ' . $params['job_id'] . ' at ' . $this->wl['name'] . '. <br /><br /> You can view your Video Responses <a href="' . $link . '">here</a>. <br /><br /> ' . $share_link . ' Thank you for using ' . $this->wl['name'] . '.'; $this->send( $params['email'], 'New application for Job ' . $params['title'] . ' ' . $params['reference'], $body ); }
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /in/7RXC0 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_PUBLIC in /in/7RXC0 on line 2
Process exited with code 255.