You are here: Re: Class question. Where am I going wrong? « PHP Programming Language « IT news, forums, messages
Re: Class question. Where am I going wrong?

Posted by Snef on 10/06/06 21:55

e_matthes@hotmail.com wrote:
> I banged my head against the php wall for a while when I wrote my first
> simple OOP program in php; all because I was using one underscore when
> writing __construct rather than two! I am guessing this frustration
> happens all the time, and I couldn't believe the book I was using did
> not explicitly state this. Is there a reason it was specified with two
> underscores?
>
> Eric
>

Maybe because some people were using _xxx to emulate private properties/methods
when those where not available yet.

function _blaFoo() {}

Snef.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация