<?php class A { public $test = 'foo'; public function __toString() { $this->test = 'bar'; return ''; } } $a = new A(); var_dump($a === ''); var_dump($a->test);
You have javascript disabled. You will not be able to edit any code.