You are here: Re: Cannot use "-" in variable names? « PHP Language « IT news, forums, messages
Re: Cannot use "-" in variable names?

Posted by ross on 12/10/05 16:31

I am parsing a xml file and would like to create variables on the fly
with the same name as the XML tags. some of the xml tags are in the form
"xx-yy" etc.

Kimmo Laine wrote:
> "ross" <aoxo_oxoa@yahoo.com> kirjoitti
> viestissä:dncl4u$hl4$1@mailhub227.itcs.purdue.edu...
>
>>I understand that the "-" sign is seen as an operator.
>>is there a way to get around this? I need to have "-" in variable names.
>
>
> I'd very much like to hear why you _need_ to use such a poor naming
> practise. I'd understund if you _want_ to use such, but not that you really
> really absolutely _need_ to use such. And my apologies, I'm just a really
> curious person. :)
>
>
>

 

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

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