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 - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -