http://api.vk.com/blank.html#access_token=7ada2a9807c5e450ac7b0a144f6730dc49fc5d584054b1953c9ec9485a65a4ec74ee2264b70a4293b8888&expires_in=0&user_id=338880723
$url = "http://api.vk.com/blank.html#access_token=7ada2a9807c5e450ac7b0a144f6730dc49fc5d584054b1953c9ec9485a65a4ec74ee2264b70a4293b8888&expires_in=0&user_id=338880723";
$segments = explode('#', $url);
$hash = $segmetns[1];
foreach (explode('&', $hash) as $param) {
list($key, $value) = explode('=', $param);
$params[$key] = $value;
}
var_dump($params);