3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'yop'; if (($b = $a) && printf($b)) { echo 'works'; }
Output for 4.3.7 - 7.1.0
yopworks
Output for 4.3.0 - 4.3.6
yop