3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { function __construct($i=null){ if (! $i) $this = new self(10); } } $b = new A();
Output for 4.4.9