Results 1 to 2 of 2

Thread: What do @ and -> mean in php?

  1. #1

    Thread Starter
    Registered User
    Join Date
    Nov 2005
    Posts
    206

    What do @ and -> mean in php?

    as the title suggests, im just wondering what @ symbol infront of a word means, and what the -> means between variables.

    Thanks, Justin

  2. #2
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Re: What do @ and -> mean in php?

    The @ supresses the error messages so that they wont be displayed to the user. And the -> is refering to a method or property of an object. If you want to know more information about objects and classes in PHP then read this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width