3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $key=1; $spo[$key] = 1; $gpp['price'] = 2; (int)$sum_price=4; (int)$price_per_sum = (int)$spo[$key]*(int)$gpp['price']; echo $sum_price = ($sum_price + $price_per_sum);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
6