CrazyT Posted October 4, 2009 Posted October 4, 2009 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.