3v4l.org

run code in 200+ PHP versions simultaneously
<?php $func = 'print_r'; $func($func);
Output for 4.3.0 - 7.2.6
print_r