Question:select the correct output of the following’s syntax? <?php $v=array("public","policy","support","Republic"); $p=preg_grep("/^p/",$v); print_r($p); ?> 

A Array ( [0] => public [1] => policy ) 

B [0] => public [1] => policy 

C Array ( [2] => support [3] => Republic ) 

D [2] => support [3] => Republic 

+ Answer
+ Report
Total Preview: 600

Copyright © 2024. Powered by Intellect Software Ltd