<?php $x = 75;$y = 25; function addition() { $GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];} addition();echo $z;?>
Standard input is empty
100
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!