Question:What is the output?
<?php
$array = array("pic10.jpg","pic20.jpg","pic30.jpg","pic40.jpg","pic5.jpg");
Natsort ($array);
print_r($array);
?>
 

A Array ( [0] => pic5.jpg [1] => pic10.jpg [2] => pic20.jpg [3] => pic30.jpg [4] => pic40.jpg ) 

B Array ( [4] => pic5.jpg [0] => pic10.jpg [1] => pic20.jpg [2] => pic30.jpg [3] => pic40.jpg ) 

C Array ( [4] => pic40.jpg [3] => pic30.jpg [2] => pic20.jpg [1] => pic10.jpg [0] => pic5.jpg ) 

D None 

+ Answer
+ Report
Total Preview: 768

Copyright © 2024. Powered by Intellect Software Ltd