3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $question = "Number? "; function Test() { global $question; static $num; echo $question, ++$num,"\n"; } echo Test(); echo Test();
based on ohdqV
Output for 4.3.0 - 7.3.0rc4
Number? 1 Number? 2