3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Pdf extends ci_controller { function index(){ $this->load->helper(array('My_Pdf')); include("CONN.pdf"); header("Content-type: application/pdf"); header('Content-disposition: inline; filename="' . $fv->getFileName() . '"'); } } ?>
Output for 7.3.0alpha1
Fatal error: Uncaught Error: Class 'ci_controller' not found in /in/XYoJn:3 Stack trace: #0 {main} thrown in /in/XYoJn on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.17, 7.0.0 - 7.2.6
Fatal error: Class 'ci_controller' not found in /in/XYoJn on line 3
Process exited with code 255.
Output for 5.3.0 - 5.6.28
Fatal error: Class 'ci_controller' not found in /in/XYoJn on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Class pdf: Cannot inherit from undefined class ci_controller in /in/XYoJn on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Class pdf: Cannot inherit from undefined class ci_controller in /in/XYoJn on line 3