Created
January 4, 2023 16:26
-
-
Save Pavaniysk/768978449a1365c70aa9f49aa36cade6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<body> | |
<?php | |
$x= 100; | |
$y= 50; | |
function addition() { | |
$GLOBALS['z']= $GLOBALS['x']+ $GLOBALS['y']; | |
} | |
addition(); | |
echo $z; | |
?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment