The Artima Developer Community
Sponsored Link

PHP Buzz Forum
PHP Encapsulation Surprises

0 replies.

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 flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 0 replies on 1 page
Angsuman Chakraborty

Posts: 19816
Nickname: angsuman
Registered: Dec, 2003

Angsuman Chakraborty is the CEO and Chief Architect at Taragana
PHP Encapsulation Surprises Posted: Sep 15, 2005 9:09 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Angsuman Chakraborty.
Original Post: PHP Encapsulation Surprises
Feed Title: Simple Thoughts on PHP
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: News and views as a Software Architect and Entrepreneur on PHP.
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Angsuman Chakraborty
Latest Posts From Simple Thoughts on PHP

In PHP, unlike Java or C++, $this has to be explicitly used to refer to variables within a class. The value of $this is determined by the context in which it is called. In certain situations $this may actually refer to the invoking class rather then the current class. This breaks object encapsulation. $this pseudo-variable is [...]

Read: PHP Encapsulation Surprises


Topic: Savant2 version 2.4.1 Previous Topic   Next Topic Topic: pecl_http tutorial

Sponsored Links



Google
  Web Artima.com   

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