3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Kernel\Application\Internal; class Runner { protected $shell; public function __construct(ShellRunnable $runable) { $this->shell = $runnable; } } class ShellRunnable { } $l = new ShellRunnable(); $a = new Runner($l); var_dump($a);

preferences:
57.91 ms | 402 KiB | 5 Q