3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo create_function('function(){}');
Output for 7.2.0
Deprecated: Function create_function() is deprecated in /in/giZZH on line 3 Warning: create_function() expects exactly 2 parameters, 1 given in /in/giZZH on line 3
Output for 5.3.0 - 7.1.10
Warning: create_function() expects exactly 2 parameters, 1 given in /in/giZZH on line 3
Output for 5.2.3 - 5.2.17
Warning: Wrong parameter count for create_function() in /in/giZZH on line 3
Output for 4.3.0 - 5.2.2
<br /> <b>Warning</b>: Wrong parameter count for create_function() in <b>/in/giZZH</b> on line <b>3</b><br />