note 89910 added to function.hexdec

From: Date: Sat, 28 Mar 2009 00:13:58 +0000
Subject: note 89910 added to function.hexdec
Groups: php.notes 
Request: Send a blank email to php-notes+get-152548@lists.php.net to get a copy of this message
I tried the example by joquius at kakugo dot com, but it didn't work. i changed it to the following, which did work. <?php $str = preg_replace_callback ("([a-zA-Z0-9]{2})", create_function ('$matches', 'return chr (hexdec ($matches[0]));'), $str); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 124.106.48.12 ---- Manual Page -- http://www.php.net/manual/en/function.hexdec.php Edit -- https://master.php.net/note/edit/89910 Del: integrated -- https://master.php.net/note/delete/89910/integrated Del: useless -- https://master.php.net/note/delete/89910/useless Del: bad code -- https://master.php.net/note/delete/89910/bad+code Del: spam -- https://master.php.net/note/delete/89910/spam Del: non-english -- https://master.php.net/note/delete/89910/non-english Del: in docs -- https://master.php.net/note/delete/89910/in+docs Del: other reasons-- https://master.php.net/note/delete/89910 Reject -- https://master.php.net/note/reject/89910 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152548) next »