preg_replace_callback("/aaa/", "fun1", $str);
       
function fun1($matches, 能不能在这里加一个参数?)
{
      return $matches[1] . "http://d-softs.com/other/subprocess.php?url=" . $matches[2];
}