Jump to content

Fligex

New Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Fligex's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the extra info ignace, I had guessed self was referencing the current class some how but I'm curious what it is actually doing.. "granted I know this syntax is wrong" but I imagine its something like this: function add(new thisClass($b)) Is that an accurate depiction of what is happening? Btw I didn't end up using the keyword since I wasn't sure what it was doing and I wanted to include more parameters.
  2. Hi, thanks for reply. What is the keyword "self" doing? First time I've seen it.
  3. I am curious as to how one might go about overloading the Arithmetic Operators for a class. I have a class in which I find myself in need of doing this. Any ideas? Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.