src/Connections/Ldap.php
public function unescape($value)
    {
        $callback = function ($matches) {
            return chr(hexdec($matches[1]));
        };

        return preg_replace_callback('/\\\([0-9A-Fa-f]{2})/', $callback, $value);
    }
public function unescape($value)
    {
        $callback = function ($matches) {
            return chr(hexdec($matches[1]));
        };

        return preg_replace_callback('/\\\([0-9A-Fa-f]{2})/', $callback, $value);
    }
public function unescape ( $ value ) { $ callback = function ( $ matches ) { return chr ( hexdec ( $ matches [ 1 ] ) ) ; } ; return preg_replace_callback ( '/\\\([0-9A-Fa-f]{2})/' , $ callback , $ value ) ; }
Un-escapes a hexadecimal string into its original
string representation.

@param string $value

@return string
Un - escapes a hexadecimal string into its original string representation .