3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php global $pg; $_GET['pg']=10; if( isset($_GET['pg']) ) $pg=$_GET["pg"]; echo $pg; ?>
Output for 4.3.0 - 7.2.0
10