3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Example { public function foo(?int $f) { } } $e = new Example; $e->foo(null);
Output for 7.1.7