3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dizi = array ("e" , "r" , 5 , 10 ,2) ; $toplam = $dizi[0] + $dizi[1] ; echo $toplam ; ?>
based on 3qPJP
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/pPv0P on line 4 Warning: A non-numeric value encountered in /in/pPv0P on line 4 0
Output for 5.3.19 - 7.0.20
0