<?php $str = '\xE2\x80\x99'; var_dump(\preg_replace_callback('#\\\\(?:\\\\|x([0-9a-f]{2}))#i', function($m) { return isset($m[1]) ? \chr(\hexdec($m[1])) : '\\'; }, $str));
You have javascript disabled. You will not be able to edit any code.