3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $vyhladavanie = 'zelená hruška'; ?> <script> $(".vysledky").load("data.php?vyhladavanie=" + encodeURIComponent(<?=json_encode($vyhladavanie) ?>"); </script>
Output for 5.4.0 - 7.1.0
<script> $(".vysledky").load("data.php?vyhladavanie=" + encodeURIComponent("zelen\u00e1 hru\u0161ka""); </script>
Output for 4.3.0 - 5.3.29
<script> $(".vysledky").load("data.php?vyhladavanie=" + encodeURIComponent(<?=json_encode($vyhladavanie) ?>"); </script>