3v4l.org

run code in 500+ PHP versions simultaneously
<?php function htmlspecialchars($args) { return $args; } $a = '<a href="https://www.yahoo.co.jp/">zozo</a>'; echo htmlspecialchars($a);
Output for 8.3.5
Fatal error: Cannot redeclare htmlspecialchars() in /in/r0jYu on line 4
Process exited with code 255.
Output for 7.1.25 - 7.1.32, 7.2.0 - 7.2.22, 7.3.0 - 7.3.9
Fatal error: Cannot redeclare htmlspecialchars() in /in/r0jYu on line 5
Process exited with code 255.

preferences:
39.83 ms | 660 KiB | 3 Q