PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php $x = 5; $y = 15; function myTest() { $GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y']; } myTest(); echo $y;
?>