3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $variable = ''; var_dump($variable); function foo() { global $variable; var_dump($variable); } foo(); foo(); var_dump($variable);
Output for 4.3.0 - 7.1.0
string(0) "" string(0) "" string(0) "" string(0) ""