You are here: declaring var of type « All PHP « IT news, forums, messages
declaring var of type

Posted by Vince Morgan on 04/20/07 14:16

I've just read that a var can be declared in php as follows:
string $var1;
integer $var2;
etc.
Here >>
http://marakana.com/blog/examples/php-data-types-and-conversions-between-them.html
They aren't talking about casting.
I've never seen this before and trying it in vers 5.0.3.3 shows that it has
no idea about it either.
Am I missing something?
TIA
Vince

 

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

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