3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $offset = $argv[0]; // beware, no input validation! $query = $offset; 0; $offset='beware'; $query = $offset; echo $query; ?>
Output for 4.3.2 - 7.2.0
beware
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: argv in /in/pQqkp on line 3 beware