Use ANSI codes to format strings in php.