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