You are here: Re: check string contents: can be used as var? « PHP Programming Language « IT news, forums, messages
Re: check string contents: can be used as var?

Posted by Steve on 10/18/05 20:29

> is there anyway to check if a string could be used a variable name. So
> return false if the first character isn't a letter or if it contains
> spaces etc.

See <http://www.php.net/language.variables> which provides a regular
expression to validate variabe identifiers.

---
Steve

 

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

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