3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Kernel\Application\Internal use Kernel\Application\Shell\Runnable as ShellRunnable; class Runner { protected $shell; public function __construct(ShellRunnable $runable) { $this->shell = $runnable; } } $a = new Runner(); var_dump($a);
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'use' (T_USE), expecting \\ (T_NS_SEPARATOR) or ';' or '{' in /in/RLnTY on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_USE, expecting T_NS_SEPARATOR or ';' or '{' in /in/RLnTY on line 3
Process exited with code 255.