3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace \Pauple\Pluginator\Component; if (!class_exists('\Pauple\Pluginator\Component\View_Interface')) { interface View_Interface { public function get_html($args); } }
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Parse error: syntax error, unexpected fully qualified name "\Pauple\Pluginator\Component", expecting "{" in /in/7o63U on line 3
Process exited with code 255.
Output for 7.4.33
Fatal error: Uncaught Error: Undefined constant 'Pauple\Pluginator\Component' in /in/7o63U:3 Stack trace: #0 {main} thrown in /in/7o63U on line 3
Process exited with code 255.
Output for 5.6.40
Fatal error: Undefined constant 'Pauple\Pluginator\Component' in /in/7o63U on line 3
Process exited with code 255.
Output for 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/7o63U on line 3 Parse error: syntax error, unexpected T_STRING in /in/7o63U on line 3
Process exited with code 255.

preferences:
198.28 ms | 1399 KiB | 65 Q