Zend
200-710 · Question #200
200-710 Question #200: Real Exam Question with Answer & Explanation
The correct answer is B. It matches float numbers without thousand seperators.. See the full explanation below for the reasoning.
Question
Which sentence describes the following regular expression match?
preg_match('/^(^d{1,}(.[0-9])++?(?:^d+?([0-9-]))+/', $test, $matches);
Options
- AIt matches float numbers with thousand seperators.
- BIt matches float numbers without thousand seperators.
- CIt matches binary integer numbers.
- DIt matches any string.
- EIt does not match anything
Community Discussion
No community discussion yet for this question.