3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = array(); $input['client'] = 'clientName'; $input['title'] = 'title of thingy'; $input['slug'] = 'slugOfAGun'; $input['project_date'] = Input::get('project_date'); $input['content'] = Input::get('content'); print_r($input);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Class 'Input' not found in /in/G55F6:7 Stack trace: #0 {main} thrown in /in/G55F6 on line 7
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Class 'Input' not found in /in/G55F6 on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'input' in /in/G55F6 on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'input' in /in/G55F6 on line 7