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
(
[Ben] => 78
[Cate] => 52
)
2,4,6
Array
(
[0] => 1
[1] => 3
[2] => 5
)