Reputation: 205
How convert for example: "\x3e" to ">" in PHP?
Upvotes: 0
Views: 1130
Reputation: 724502
Since that's a UTF-8 escape sequence, use utf8_decode():
utf8_decode()
echo utf8_decode('\x3e'); // >
Upvotes: 4