You are here: Re: use of var « PHP Programming Language « IT news, forums, messages
Re: use of var

Posted by Andy Hassall on 07/18/07 23:10

On Wed, 18 Jul 2007 22:56:34 GMT, Sanders Kaufman <bucky@kaufman.net> wrote:

>Really?!
>I just went through a bunch of classes to make sure I used Var to
>pre-type my variables. I knew it wasn't necessary (except for
>maintainability and such) but I didn't know it was outright deprecated.

It's deprecated in favour of "public", "private" or "protected" - you should
still declare the member variables in the class.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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