Jump to content
MakeWebGames

Recommended Posts

Posted

Ok im bored so putting up a little Challenge.

 

<?php
$ir = array();
$ir['username'] = 'Alan';
function lmao() {
   echo "Your name: ". $ir['username'];
}
lmao();
?>

 

Now

You have to get that username to work in the function.

What you Can't do!

1# You cant edit the function

2# You cant global $ir;

3# You cant move the $ir array() into the function.

What you can do!

1# Edit the $ir['username'] in the function :)

You have the answer: PM ME.

Let's see who get's it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...