<?php $source = '!'; $source = preg_replace_callback( '/&#x([a-f0-9]+);/mi', function ($m) { return chr(hexdec($m[1])); }, // Now a Closure $source ); var_dump($source);
You have javascript disabled. You will not be able to edit any code.