3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t=5; $y= 99; function practiceTest() { global $t,$y; $y=$t*$y; } practiceTest(); echo $z; //leader ?> </body> </html>
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: z in /in/EosPC on line 11 </body> </html>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: z in /in/EosPC on line 11 </body> </html>