Reply to Re: Define variables with a type

Your name:

Reply:


Posted by zdzisio on 11/01/07 14:38

Philluminati pisze:

> int $tablename = 0;
>
> rather than
>
> var $tablename = 0;
>
> Is it possible?

no .
of course you can do something like

public $tablename = (int)0;

but this does not prevent asigning value of a different type to that
variable.

that's the way it is

> If not, do you all go back to using hungarian notation in order to
> know what data types your working

I do

z.

[Back to original 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

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