Fix ldapSlashes under PHP 5.5