3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 2; $b = 0+""+$a; var_dump($b);
based on IWLPT
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/Xkuj6 on line 5 int(2)
Output for 5.3.22 - 7.0.20
int(2)