DataRater Posted August 8, 2008 Share Posted August 8, 2008 What does the =& do? I would have put just an = sign there. $captcha =& new captcha($CAPTCHA_CONFIG); Quote Link to comment https://forums.phpfreaks.com/topic/118781-solved-captcha-amp-new-captchacaptcha_config/ Share on other sites More sharing options...
ignace Posted August 8, 2008 Share Posted August 8, 2008 $foo = 'bar'; $bar =& $foo; $bar = 'foo'; echo $foo; // returns foo $bar =& $foo $bar references $foo any changes made to $bar have effect on $foo Quote Link to comment https://forums.phpfreaks.com/topic/118781-solved-captcha-amp-new-captchacaptcha_config/#findComment-611605 Share on other sites More sharing options...
DarkWater Posted August 8, 2008 Share Posted August 8, 2008 Yeah, it's the reference operator. Almost remotely like pointers in C and C++, but not the same. >_> Quote Link to comment https://forums.phpfreaks.com/topic/118781-solved-captcha-amp-new-captchacaptcha_config/#findComment-611607 Share on other sites More sharing options...
Jabop Posted August 8, 2008 Share Posted August 8, 2008 @DarkWater Almost remotely like something, but not the same? Haha, makes perfect sense http://us2.php.net/references Quote Link to comment https://forums.phpfreaks.com/topic/118781-solved-captcha-amp-new-captchacaptcha_config/#findComment-611621 Share on other sites More sharing options...
DarkWater Posted August 8, 2008 Share Posted August 8, 2008 I don't want to say that they're like pointers because they're not. They sort of act like pointers. Almost. Sort of. >_> *Dies* Quote Link to comment https://forums.phpfreaks.com/topic/118781-solved-captcha-amp-new-captchacaptcha_config/#findComment-611626 Share on other sites More sharing options...
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.