Confusion in PHP variables -


can use same variable name in php used data. example: variable $_get['v'], can use $v variable other purpose or lead ambiguity?

$_get['v'] , $v in no way tied , occupy different memory. can use both names.

if change default php configuration enable register_globals, $v created $_get['v'] if such query string parameter existed, still overwrite , use separate variable.

register_globals has not been enabled in default php configuration several years.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -