I\'m working with a database that has a bunch of serial numbers that are prefixed with leading 0\'s.
So a serial number can look like 00032432 or 56332432.
Everything from the database is automatically a string. Integers are strings, dates are strings, dogs are strings.
If you are doing something weird, convert anything to a string by: $a = (string) 12;
$a = (string) 12;