<?php class A { function __construct($i=null){ if (! $i) $this = new self(10); } } $b = new A(); var_dump($b);
You have javascript disabled. You will not be able to edit any code.