Reply to Re: accessing a variable named $1

Your name:

Reply:


Posted by Kimmo Laine on 05/16/06 12:45

"gg9h0st" <mn9h0st@hotmail.com> wrote in message
news:1147768565.691728.313280@j55g2000cwa.googlegroups.com...
> it's not vailable to make a variable named start with number like $0var
>

IMHO you're just trying to make your life really really difficult if you try
playing with variables named $1 and $2. A valid variable name starts with an
alphabet or an underscore. Yes, it's possible actually to create '$1' with
variable variable but would it not be a tad easier if you just didn't try
it? Unless you are the Indiana Jones of PHP who wants to do things the hard
way (and I mean the really hard way), I suggest you give it up.

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)

[Back to original 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

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