3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $box->insured_amount = 837 + 2.70 + ( intval( ceil((837-300)/100)) * 0.80); echo $box->insured_amount;
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: Creating default object from empty value in /in/WERSr on line 3 844.5
Output for 5.0.0 - 5.3.29
Strict Standards: Creating default object from empty value in /in/WERSr on line 3 844.5
Output for 4.3.0 - 4.4.9
844.5