Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 2 Question 42 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 42
Topic #: 2
[All 200-710 Questions]

What is the output of the following code?

class a

{

public $val;

}

function renderVal (a $a)

{

if ($a) {

echo $a->val;

}

}

renderVal (null);

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Kaitlyn
22 minutes ago
I think the output is NULL.
upvoted 0 times
...

Save Cancel