3v4l.org

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