PHPRestored your last edit ·
Result
PHP runs on a web server
Browsers can't run PHP. To try this code: install XAMPP, save it as a file in htdocs (use Download above), then open it at http://localhost/yourfile.php.
Output
Array
(
[0] => avocado
[1] => banana
[2] => pawpaw
)