www.webdeveloper.com
Results 1 to 2 of 2

Thread: Question about inheritance

  1. #1
    Join Date
    Feb 2008
    Posts
    134

    Question about inheritance

    How does php handle inheritance for private methods and properties?

    Does the child inherit private methods and properties from the parent?

  2. #2
    Join Date
    Mar 2007
    Posts
    946
    Take a look at the first paragraph

    http://php.net/manual/en/language.oop5.visibility.php

    Also best way to learn is to try it yourself.
    "Hippies.They're everywhere. They wanna save the earth, but all they do is smoke pot and smell bad."-Cartman

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles