PHP The global Keyword virendra_india 03:01:00 1 comment <?php$x = 5;$y = 10;function myTest() { global $x, $y; $y = $x + $y;}myTest();echo $y; // outputs 15?> Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
ok
ReplyDelete