Hi i have this array codes below,

<?php
print_r(apache_get_modules());
?>

what i want is to format the output so that it will look like this below,

Array
(
[0] => core
[1] => http_core
[2] => mod_so
[3] => sapi_apache2
[4] => mod_mime
[5] => mod_rewrite
)

and not this one below,
Array([0] => core[1] => http_core[2] => mod_so[3] => sapi_apache2
[4] => mod_mime[5] => mod_rewrite)

how?

thank you in advance.