As a developer, we are dealing with encoding and decoding very often.
With PHP, like any other language, we can do encoding or decoding on any type of string, HTML entities, json object, or URL.
PHP is providing various built-in functions for that. But sometimes we might not be aware of those functions.
7 important and useful ways to use encoding or decoding functions explained with examples.
- HTML
- UUEncode (Unit-to-Unix-Encoding)
- URL
- Base64
- JSON
- ROT13
- UTF8
You can also check the full article on — canopas blog.
Top comments (0)