<head>
<script type="text/javascript">
var array = {"input":"bar\u0026quot;; alert(\u0026quot;Meow!\u0026quot;); var xss=\u0026quot;true"};
var input = array.input;
</script>
</head>
Output for 5.2.0 - 5.2.17
Notice: Use of undefined constant JSON_HEX_TAG - assumed 'JSON_HEX_TAG' in /in/v6Sou on line 7
Notice: Use of undefined constant JSON_HEX_AMP - assumed 'JSON_HEX_AMP' in /in/v6Sou on line 7
Notice: Use of undefined constant JSON_HEX_APOS - assumed 'JSON_HEX_APOS' in /in/v6Sou on line 7
Notice: Use of undefined constant JSON_HEX_QUOT - assumed 'JSON_HEX_QUOT' in /in/v6Sou on line 7
Warning: json_encode() expects exactly 1 parameter, 2 given in /in/v6Sou on line 7
<head>
<script type="text/javascript">
var array = ;
var input = array.input;
</script>
</head>