<?php interface Foo { public function thing($foo); } class Bar implements Foo { public function thing(&$foo) { $foo++; } } $bar = new Bar(); $a = 1; $bar->thing($a); var_dump($a);
You have javascript disabled. You will not be able to edit any code.