Re: Convert \x3d \x3b \x3c to ASCII

From: Date: Tue, 23 Jun 2009 13:55:58 +0000
Subject: Re: Convert \x3d \x3b \x3c to ASCII
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-294448@lists.php.net to get a copy of this message
ioannes@btinternet.com 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

« previous php.general (#294448) next »