<?php
$example = array ('10'=> 25, "15"=> 30, '20'=>22);
foreach ($example as $key => $value){
$result[$key] = $key*$value;
}
PD9waHAKCiRleGFtcGxlID0gYXJyYXkgKCcxMCc9PiAyNSwgIjE1Ij0+IDMwLCAnMjAnPT4yMik7CgokcmVzdWx0ID0gYXJyYXkoKTsKCmZvcmVhY2ggKCRleGFtcGxlIGFzICRrZXkgPT4gJHZhbHVlKXsKJHJlc3VsdFska2V5XSA9ICRrZXkqJHZhbHVlOwoKCn0KCnZhcl9kdW1wKCRyZXN1bHQpOw==