3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace App\Data; class Null { /** * @var null|string */ private $objectId; }
Output for 7.0.0 - 7.1.3
Fatal error: Cannot use 'Null' as class name as it is reserved in /in/t2vd6 on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.17.3