<?php class A { public $a = 5; public function __toString () { var_dump("to string"); return "A"; } } $a = new A(); echo $a; b("test" . $a); function b ($t) { echo $t; }
You have javascript disabled. You will not be able to edit any code.