3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = $b = 1; printf('$a is %d\n$b is $d', $a, $b); $b = 3; printf('$a is %d\n$b is $d', $a, $b);
Output for 4.3.0 - 7.2.0
$a is 1\n$b is $d$a is 1\n$b is $d