View Full Version : What is the difference?
eXtremeTim
06-10-2005, 06:17 AM
between $dataman->setr() and $dataman->set() I just want to make sure im using the right one. Im thinking r is for handleing reply data?
Marco van Herwaarden
06-10-2005, 08:33 AM
I think you should always use 'set'.
Andreas
06-10-2005, 12:11 PM
set() uses call by value semantic, whereas setr() uses a reference, eg. you can only pass a variable with setr().
Marco van Herwaarden
06-10-2005, 12:46 PM
And 'set' is just a front end for 'setr' ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.