php 7 - Accessing variable under PHP 7 different? -


this used before:

$langs[$language->lang_code]->$fieldname[1] 

under php 7 thats not working, looks must write:

$langs[$language->lang_code]->{$fieldname[1]} 

is so?


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

Trouble making a JSON string -

sitecore - Resolve ISitecoreService using SimpleInjector -