3v4l.org

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