<?php class xxyy { } class xx { function __construct() { return new xxyy(); } } $x= new xx(); $y= $x->__construct(); print_r($x); print_r($y);
You have javascript disabled. You will not be able to edit any code.