Forum Moderators: coopster

Message Too Old, No Replies

What's the name of the hyphen and greater-than syntax

         

scriptmasterdel

3:30 pm on Oct 2, 2008 (gmt 0)

10+ Year Member



I can't remember the actual name of this, i usually refer to it as the hyphen and greater-than syntax (->), but it does have a name.

Does anyone know? I really can't remember.

It's used when calling object methods and such like in php

e.g.

$myobject->mymethod();

Thanks all.

[edited by: eelixduppy at 5:38 pm (utc) on Oct. 2, 2008]

coopster

6:42 pm on Oct 2, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



arrow operator [php.net]