许多语言允许使用同名的函数(函数签名不同),这个特性称为函数重载。 但PHP不支持函数重载,所以咋自定义函数时,不要重名。 转载于:https://www.cnblogs.com/lihong/archive/2011/02/18/1958014.html