You are here: Re: Will php ever do strong typing? « PHP Programming Language « IT news, forums, messages
Re: Will php ever do strong typing?

Posted by Umberto Salsi on 10/23/70 11:17

dterrors@hotmail.com wrote:

> This looks like it could be perfect for what I need. But does it only
> work with base types like string and int, or can it check object types
> that I define?
>
> /*MyObject*/ function getthing(/*MyThing*/ mt, /*MyArrayList/* arl) {
>
> etc etc ?

Currently only base-types are allowed: boolean, int, float, number,
int, float, string, array, resource, mixed, void.

Classes are still to be implemented in phplint: they are parsed, but can't be
used in meta-declarations. I'm planning to cover classes and methods soon,
so that class names may be used in declarations just as expected.

Ciao,
___
/_|_\ Umberto Salsi
\/_\/ www.icosaedro.it

 

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

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