View Single Post
  #7  
Old 01-29-2011, 10:37 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Deas_Voice View Post
i've never used makevar myself, may i ask what's the difference?
PHP Code:
makevar("this.foo_bar") = "var"
or
PHP Code:
this.(@"foo_bar") = "var"
just for the sake of future reference'
There is essentially no difference except that sometimes you can't use the second example and have to use makevar (I think variables that don't have a prefix/object?). Avoid makevar if possible.
__________________
Reply With Quote