<?php class Test { public function __construct(&$x){ ++$x; echo "You sent me $x\n"; } } $a = 8; $o = new Test($b = &$a); var_dump($b,$b == $GLOBALS['b']);
You have javascript disabled. You will not be able to edit any code.