3v4l.org

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