3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 123123; $txt = (string)$var; $txt2 = $var + ""; echo $txt, $txt2;
based on 2qX5q
Output for 7.1.0
Warning: A non-numeric value encountered in /in/RkPDH on line 4 123123123123
Output for 4.3.0 - 7.0.14
123123123123