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