Zend
200-530 · Question #397
You run the following PHP script: <?php if ( preg_match("/[^a-z589]+/", "AB asdfg589nmGH", $array) ) { print "<pre>\n"; print_r( $array ); print "</pre>\n"; } ?> What will be the output? Zend…
The correct answer is B. Array. See the full explanation below for the reasoning.
Question
You run the following PHP script: <?php if ( preg_match("/[^a-z589]+/", "AB asdfg589nmGH", $array) ) { print "<pre>\n"; print_r( $array ); print "</pre>\n"; } ?> What will be the output? Zend 200-530 Exam
Options
- AArray
- BArray
- CArray
- DArray
How the community answered
(46 responses)- A4% (2)
- B83% (38)
- C11% (5)
- D2% (1)
Community Discussion
No community discussion yet for this question.