What is the output of the following code?
function increment ($val) {
$_GET[‘m’] = (int) $_GET[‘m’] + 1;
}
$_GET[‘m’] = 1;
echo $_GET[‘m’];
What is the output of the following code?
function increment ($val) {
$_GET[‘m’] = (int) $_GET[‘m’] + 1;
}
$_GET[‘m’] = 1;
echo $_GET[‘m’];