how to convert int to string php code example Example: integer to string php return strval($integer);