3v4l.org

run code in 200+ 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 - 7.2.0
6