3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'b'; $b = ''; echo $a; \printf();
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
b Warning: printf() expects at least 1 parameter, 0 given in /in/BS6Od on line 6
Output for hhvm-3.10.0 - 3.12.0
b Warning: printf() expects exactly 1 parameter, 0 given in /in/BS6Od on line 6
Output for 4.3.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/BS6Od on line 6 b Warning: Wrong parameter count for printf() in /in/BS6Od on line 6