My code is this: " $this->_user = " and I'm curious if this would give me an almost fatal error in Internet explorer?
2 Replies - 552 Views - Last Post: 18 April 2011 - 07:17 AM
Replies To: Would adding a "_" after $this-> have an effect on yo
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.
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]*
This post has been edited by codeprada: 18 April 2011 - 07:18 AM
Page 1 of 1