The Artima Developer Community
Sponsored Link

PHP Buzz Forum
PHP PPP question

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Michael Kimsal

Posts: 124
Nickname: mgkimsal
Registered: May, 2008

Michael Kimsal is a senior web technologist and host of WebDevRadio.com
PHP PPP question Posted: Mar 19, 2009 7:09 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Michael Kimsal.
Original Post: PHP PPP question
Feed Title: Michael Kimsal's weblog
Feed URL: http://michaelkimsal.com/blog/category/php/feed/
Feed Description: Web development and new media observations
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Michael Kimsal
Latest Posts From Michael Kimsal's weblog

Advertisement
Why does this work? Why does this show the email address? #1<?phpclass person {    private $email = “foo”;    function showEmail() {         echo $this->email;     }}class user extends person {}$u = new user();$u->showEmail(); but this doesn’t? #2<?phpclass person {    private $email = “foo”;}class user extends person {    function showEmail() {        echo $this->email;    }}$u = new user();$u->showEmail(); Also, [...]

Read: PHP PPP question

Topic: PHP PPP question Previous Topic   Next Topic Topic: Quick Hits: New Solar Blog Entries

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use