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 6 Question 21 Discussion

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

Which parts of the text are matched in the following regular expression?

$text = <<

The big bang bonged under the bung.

EOT;

preg_match_all('@b.n?g@', $text, $matches);

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Georgeanna
5 months ago
I'm surprised "bonged" is included, thought it wouldn't match!
upvoted 0 times
...
Amalia
5 months ago
Wait, does "bonged" even count?
upvoted 0 times
...
Alise
5 months ago
I think it should be option B instead.
upvoted 0 times
...
Jean
5 months ago
Definitely option A!
upvoted 0 times
...
Lisandra
5 months ago
The regex matches "bang", "bong", and "bung".
upvoted 0 times
...
Eve
6 months ago
I’m confused about the "n?" part. Does that mean it can match with or without the "n"? If so, I think it should include "bang" and "bung" for sure.
upvoted 0 times
...
Christiane
6 months ago
I feel like "bonged" might be tricky because of the extra "ed" at the end. I’m leaning towards option A or B.
upvoted 0 times
...
Adela
6 months ago
I remember practicing a similar question where we had to identify matches based on regex patterns. I think "bang" and "bong" are definitely in there.
upvoted 0 times
...
Alica
6 months ago
I think the regex matches "bang", "bong", and "bung", but I'm not sure if "bonged" fits since it has an extra letter.
upvoted 0 times
...
Ashton
6 months ago
I'm a little confused by the RESTCONF reference. I'll need to make sure I understand how that protocol works in order to answer this question correctly.
upvoted 0 times
...
Evangelina
6 months ago
Software-defined networking seems like the most likely answer here. It allows for centralized policy management while being independent of the underlying hardware.
upvoted 0 times
...
Beckie
6 months ago
Okay, I remember learning about the spectroscopic ratio in class. I think it has to do with the number of channels or wavelengths supported. Let me review my notes.
upvoted 0 times
...

Save Cancel