What is the output of the following code?

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments