3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_WARNING); call_user_func("prefix_<script>alert(1)</script>");
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'prefix_<script>alert(1)</script>' not found or invalid function name in /in/WX4rI on line 2
Output for hhvm-3.10.0 - 3.13.2
Warning: Invalid argument: function: method 'prefix_<script>alert(1)</script>' not found in /in/WX4rI on line 2
Output for 4.3.2 - 5.2.17
Warning: call_user_func(prefix_<script>alert(1)</script>): First argument is expected to be a valid callback in /in/WX4rI on line 2
Output for 4.3.0 - 4.3.1
Warning: call_user_func(prefix_<script>alert(1)</script>) [http://www.php.net/function.call-user-func]: First argument is expected to be a valid callback in /in/WX4rI on line 2