3v4l.org

run code in 300+ PHP versions simultaneously
<?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, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
/fr/search/1?cc=15076-a7c&amp;coordinate=45.75%2C4.85&amp;radius=20&amp;food_type_tag%5B0%5D=466&amp;offset=0&amp;limit=25&amp;filter%5B0%5D=PRICE%3A0&amp;filter%5B1%5D=RATE%3A0&amp;filter%5B2%5D=TAG%3Arestaurant_tag%7C466%7C12&amp;sort=QUALITY
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Notice: Use of undefined constant ENT_SUBSTITUTE - assumed 'ENT_SUBSTITUTE' in /in/7kECR on line 4 /fr/search/1?cc=15076-a7c&amp;coordinate=45.75%2C4.85&amp;radius=20&amp;food_type_tag%5B0%5D=466&amp;offset=0&amp;limit=25&amp;filter%5B0%5D=PRICE%3A0&amp;filter%5B1%5D=RATE%3A0&amp;filter%5B2%5D=TAG%3Arestaurant_tag%7C466%7C12&amp;sort=QUALITY
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant ENT_SUBSTITUTE - assumed 'ENT_SUBSTITUTE' in /in/7kECR on line 4
Process exited with code 139.

preferences:
324.89 ms | 401 KiB | 459 Q