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 200-710 Exam - Topic 3 Question 3 Discussion

Posted by Keneth on May 07, 2022 at 10:30 PM

What is the output of the following code?

$a = 'a'; $b = 'b';

echo isset($c) ? $a.$b.$c : ($c = 'c').'d';

Suggested Answer: B

Get Premium 200-710 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
FR
Francoise 1 year ago
I thought it would be '0d' at first!
SU
Suzi 1 year ago
Nope, it's 'abc' if $c was set.
DO
Doug 1 year ago
Wait, how does that even work?
OM
Omega 1 year ago
I agree, it's 'cd' for sure!
TI
Titus 1 year ago
The output is definitely 'cd'.
SA
Santos 1 year ago
I feel confused about the order of operations here. I want to say it's 'cd', but I keep second-guessing myself!
BA
Barbra 1 year ago
I practiced a similar question, and I think it could be 'abc' if $c was already defined, but here it seems like it should be 'cd'.
TO
Tonette 1 year ago
I'm not entirely sure, but I remember something about isset() returning false if the variable isn't defined. So maybe it's 'cd'?
NU
Nu 1 year ago
I think the output might be 'cd' because $c is not set initially, so it goes to the else part.
KA
Kanisha 1 year ago
Hmm, this is a tricky one. I'd want to consider factors like the scope of the project, the parties involved, and the typical industry practices. FIDIC seems like a good option for an international engineering project, but IMechE/IET could also be relevant.
AD
Adrianna 1 year ago
The way this is set up, it feels more like reinsurance since Longview retains some risk. Is that right?
CO
Corinne 1 year ago
Okay, let me break this down step-by-step. I need to understand how the condition weights are calculated for each rule.
FE
Fernanda 1 year ago
I think MPLS VPN might support QoS, but I'm not confident about the full-mesh requirement—does it really fit?
CO
Corrina 1 year ago
I'm leaning towards the Security administrator role. Since administrative units are related to security and compliance, that role might be a good fit for this scenario.
0/2000 characters

Save Cancel