<?php function user_info2($user){ static $static = array(); if (isset($static[$user])){ return $static[$user];} $user_info = user_info($static[$user]); return $static[$user] = $user_info;} ?>