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 2 Question 11 Discussion

Posted by Tawna on May 06, 2022 at 01:45 AM

Which sentence describes the following regular expression match?

preg_match('/^\d+(?:\.[0-9]+)?$/', $test);

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
12 comments · newest first
VI
Viola 1 year ago
Definitely not A, that's for sure.
BL
Blondell 1 year ago
I thought it could match any string, but guess not!
LO
Lonny 1 year ago
Wait, it doesn't match binary numbers?
BL
Blair 1 year ago
Totally agree with B!
RO
Roy 1 year ago
It matches float numbers without thousand separators.
EM
Emile 1 year ago
I don't think it matches any string at all; it seems too specific for that.
LE
Lennie 1 year ago
I remember practicing a similar question, and I think it only matches floats without thousand separators.
CH
Charlie 1 year ago
I think this regex is about matching numbers, but I'm not sure if it includes thousand separators or not.
KE
Keneth 1 year ago
I'm a bit confused; I thought it could match integers too, but I guess it has to be a float because of the decimal part.
KR
Kristine 1 year ago
Hmm, I'm not sure about this one. The question mentions they're working from conjecture and opinion, not data. Maybe we should consider doing some kind of value analysis to evaluate the options more objectively?
ME
Meghann 1 year ago
This is a classic exam question - they're trying to trip us up with the wording. I'll need to read each statement closely and really think about whether it's true or not. Can't afford to rush through this one.
VA
Val 1 year ago
I feel uncertain about the FDA classification—like, do all generics need to prove their effectiveness in the same way as brand-name drugs?
0/2000 characters

Save Cancel