My code is this: " $this->_user = " and I'm curious if this would give me an almost fatal error in Internet explorer?
2 Replies - 261 Views - Last Post: 18 April 2011 - 07:17 AM
#1
Would adding a "_" after $this-> have an effect on yo
Posted 18 April 2011 - 06:15 AM
Replies To: Would adding a "_" after $this-> have an effect on yo
#2
Re: Would adding a "_" after $this-> have an effect on yo
Posted 18 April 2011 - 06:48 AM
Shouldn't make a difference what browser it is running on because all of the PHP is handled SERVER side not CLIENT side
#3
Re: Would adding a "_" after $this-> have an effect on yo
Posted 18 April 2011 - 07:17 AM
Variable names in PHP can start with a letter or underscore and be followed by any amount of letters, numbers and underscores.
Quote
Variable names follow the same rules as other labels in PHP. A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
- php.net
- php.net
This post has been edited by codeprada: 18 April 2011 - 07:18 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|