3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data="98.8degrees"; (double)$data; settype($data, 'integer'); (string)$string; echo $data;
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: string in /in/Xkivg on line 5 98
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: string in /in/Xkivg on line 5 98