3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(array(5,2,20,26,11) as $number){ echo 'Before: ' . $number . ' '; if (9 > $number && $number < 36 && $number !== 11 && $number !== 22) { } echo 'After: ' . $number . "\n"; }
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Before: 5 After: 5 Before: 2 After: 2 Before: 20 After: 20 Before: 26 After: 26 Before: 11 After: 11
Output for hhvm-3.10.0

Process exited with code 153.