3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $co2 = 200; $v1 = $co2 - 200; $v1 = $v1 <= 0 ? 0 : $v1; $v3 = $v1 - 50; $v3 = $v3 <= 0 ? 0 : $v3; $v2 = $v1 - $v3; echo ($v1 * 0) + ($v2 * 2) + ($v3 * 4);
based on E5ErD
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0