3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_export( create_function('', '') ); var_export( create_function('', '') );
Output for 5.2.6 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
'' . "\0" . 'lambda_1''' . "\0" . 'lambda_2'
Output for 5.2.0 - 5.2.5
'\000lambda_1''\000lambda_2'
Output for 4.3.0 - 5.1.6
'lambda_1''lambda_2'