- htmlspecialchars: documentation ( source)
<?php
$url = '/fr/search/1?cc=15076-a7c&coordinate=45.75%2C4.85&radius=20&food_type_tag%5B0%5D=466&offset=0&limit=25&filter%5B0%5D=PRICE%3A0&filter%5B1%5D=RATE%3A0&filter%5B2%5D=TAG%3Arestaurant_tag%7C466%7C12&sort=QUALITY';
echo htmlspecialchars($url, 3, 'UTF-8');