You are here: Re: undefined array index question « PHP Programming Language « IT news, forums, messages
Re: undefined array index question

Posted by Dikkie Dik on 09/18/05 00:02

Dikkie Dik wrote:
> ... Lots of other programming
> languages do this also. This means that you can compute 2 + '3' and get
> 5, because the string is converted to an integer. I personally hate
> this, because computing '3' + 2 gets '32'. Which can be converted in a
> later expression to 32!

I was thinking too much about java and Visual Basic. PHP doesn't want to
"add" strings at all, so '3' + 2 gets 5.

 

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

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