3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dpx = 2; $width = 100; $height = null; if ($dpx !== null) { if ($width !== null) { $width *= $dpx; } if ($height !== null) { $height *= $dpx; } } echo $width;
Output for 5.3.19 - 7.2.0
200