3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s= "9 i pol tjedana" - 2; echo $s . "<br>"; $s= "devet i 9 tjedana" - 2; echo $s . "<br>"; $s= 2.5 * "7 patuljaka" ; echo $s . "<br>"; $s= 5 + "2E3 godina" ; echo $s . "<br>"; ?>
based on mT7Ci
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/coXJv on line 2 7<br> Warning: A non-numeric value encountered in /in/coXJv on line 4 -2<br> Notice: A non well formed numeric value encountered in /in/coXJv on line 6 17.5<br> Notice: A non well formed numeric value encountered in /in/coXJv on line 8 2005<br>
Output for 5.3.18 - 7.0.20
7<br>-2<br>17.5<br>2005<br>