<?php class A { function b (&$x = null) { $x = 1; return true; } } $a = new A(); $a->b(); $x = null; $a->b($x); var_dump($x);
You have javascript disabled. You will not be able to edit any code.