180it.com 学无止境 - PHP获取周岁，虚岁 的评论
type: channel
link: http://180it.com/archives/660/
description: /*** $date是时间戳* $type为1的时候是虚岁,2的时候是周岁*/function getAgeByBirth($date,$type = 1){ $nowYear = date...