Hi StackOverflow Community,
Here is my question, how to convert php with hex code to readable string? In what I mean, everything is inside this 2 php code ..
<?php echo "\x74\150\x69\163\x20\151\x73\40\x74\145\x73\164\x69\156\x67\40\x6f\156\x6c\171"; echo test['\x74\171\x70\145']; echo range("\x61","\x7a"); ?>
it is not readable code, I need some php function that can convert these unreadable codes into readable code ... so it will be converted after that.
<?php echo "this is testing only"; echo test['type']; echo range("a","z"); ?>
I know that I can just respond to this hex text to change it to a readable line, but I have a huge php file and a lot of php files that are just like this, so I need a php function that can automatically convert them all into readable code.
Thanks..
source share