<?php class a { function __construct() { $a = $GLOBALS['a']; var_dump($a); } } class b {} $a = new a(new b);
You have javascript disabled. You will not be able to edit any code.