3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array ("<html>"); function sanitise ($data) { $data = array_map("trim", $data); $data = array_map("htmlspecialchars", $data); return $data; } print_r(sanitise($data));
Output for 4.3.0 - 5.2.11, 5.2.13 - 7.2.0
Array ( [0] => &lt;html&gt; )
Output for 5.2.12

Process exited with code 137.