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