Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrays and other functions

    Hi,

    I'm reasonably experienced with php.. but still dont understand the concept of

    -> and =>

    eg:
    return $this->response;
    or
    $this->request_string .= $this->ValidRequestPair($key, $value);

    Thanks!
    Dan.

  2. #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,280
    Thanks
    6
    Thanked 49 Times in 49 Posts

  3. #3
    New Coder
    Join Date
    Jul 2005
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    unfortunately, i still dont grasp it 100%

    from what i gather saying $this->result is the same as saying $result ?

    so why the $this? and is it always the term '$this' ?

  4. #4
    New Coder
    Join Date
    Jul 2005
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is unravelling a whole new confusing world of php i havent come across..

    'Classes'. What the?

    there's a lot of these -> some of these :: and some of these =>

  5. #5
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,280
    Thanks
    6
    Thanked 49 Times in 49 Posts
    This should explain it a bit more. http://www.informit.com/articles/art...p?p=24607&rl=1


 

Posting Permissions

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