3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function v_htmlspecialchars($string, $flags = ENT_COMPAT, $encoding = 'ISO-8869-2', $doubleEncode = false) { return htmlspecialchars($string, $flags, $encoding, $doubleEncode); } for (i=0; i<1000000; i++) { v_htmlspecialchars('za:"&<>ź\'ółćgęśląjaźń',ENT_QUOTES,'UTF-8'); }
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '=', expecting ';' in /in/BBAGB on line 8
Process exited with code 255.