You are here: Re: Passing null for a class-typed argument renders catchable error ?!? « PHP Programming Language « IT news, forums, messages
Re: Passing null for a class-typed argument renders catchable error ?!?

Posted by Michael Fesser on 01/13/08 22:42

..oO(Peter Pei)

>it is absolutely inconsistent and bad design.

NACK

>null should assume the role of
>any type, but not its own type. by saying = null, you are defining a default
>value in any other normal cases. here it happens to mean something else.

It means exactly the same thing - nothing (= no value).

Micha

 

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

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