Php Declare Variable Type In Function In Sql