Results 1 to 3 of 3
Thread: [HELP]a simple question
Aug 6, 2009, 19:10 #1
[HELP]a simple question
i am a newbie of php,maybe this is a simple and a little silly question,but i want to know the true principle of it.hope someone can help me .
there is a function,and have a form like this $a->b in its bracket.what is $a->b mean and have what effect?the sign '->' mean ?
Aug 6, 2009, 19:25 #2
- Join Date
- Jul 2007
- San Jose, California
- 0 Post(s)
- 0 Thread(s)
-> is a way of showing ownership I guess i the best way to describe it.
$comment is a specific object http://us.php.net/manual/en/language.oop5.php
timestamp is a member of that object, in this a variable. I'd suggest reading the link above for the most informatino.
Aug 6, 2009, 23:52 #3