3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //declare(strict_types = 1); class A {} class B extends A {} class LibraryClass { public function doWork(string $input) { } } class UserClass extends LibraryClass { public function doWork($input) { } }
Output for 7.2.11