make some modify about php data type.