--TEST-- Return type of parent is allowed in closure --FILE-- bindTo(null, 'B')(new A)); ?> --EXPECTF-- object(A)#%d (0) { }