Page 1 of 1

please explain the following sybol ->

Posted: Fri Oct 24, 2008 5:38 am
by omerts
i saw in the zencart files something like this
$new_products->RecordCount();

i know it is a variable and a function but what does this do "->" ?

Re: please explain the following sybol ->

Posted: Fri Oct 24, 2008 6:20 am
by onion2k
It's not a variable and a function really. It's an object and a method. http://uk3.php.net/manual/en/language.oop5.basic.php