Question from the PHP5 test

What is the output of the following code? class Foo { public $bar = 'bar'; public function __toString() { return $this->bar; } public function __isset() { return true; } } $foo = new Foo(); echo isset($foo->bar);

Medium

Which of the following statements are correct?

Author: Mathieu RobinStatus: PublishedQuestion passed 64 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!