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