Suppose I have a string,
e.g. $str = 'good morning';
I want encode the string into a format that doesn't contains any
special character like \n, \r and space etc.
Currently base64_encode is used. But are there any faster methods?
Thanks.
Howa
e.g. $str = 'good morning';
I want encode the string into a format that doesn't contains any
special character like \n, \r and space etc.
Currently base64_encode is used. But are there any faster methods?
Thanks.
Howa
Comment