3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $offset=0; // beware, no input validation! $query = $offset; echo $query; 0; $offset='beware'; $query = $offset; echo $query; ?>
Output for 4.3.0 - 7.1.0
0beware