<?php function foo(string &$bar) { } class Foo { public function __toString() { return "Foo"; } } $foo = new Foo(); foo($foo); var_dump($foo);
You have javascript disabled. You will not be able to edit any code.