3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b=2; $a='120b'; $c=$a*1 ; echo $c;
based on rccMG
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/h9EIJ on line 2 120
Output for 5.3.22 - 7.0.20
120