3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); /* Akzeptiert NULL Werte */ function test(stdClass $obj = null) { } test(null); test(new stdClass);
based on kXfvo
Output for 7.0.0 - 7.2.0
Output for 5.3.22 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/tNIiE on line 2