Re: Convert \x3d \x3b \x3c to ASCII

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ioannes@xxxxxxxxxxxxxx wrote:
Is there a function which will convert characters like \x3d \x3b \x3c to ASCII. Or is there a full list of conversions, eg \x3c=<v \x3e=>, \x27=' etc. What are these, hex? I tried hexdec() but am not sure that is right.

These are hex escaped for a string:

<?php

echo "\x3d \x3b \x3c";

?>

This will output the actual characters.

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux