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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -