Syntax error - PHP -


hi dreamweaver says there syntax error on following line. right?

if (!in_array(array_reverse(explode(".",strtolower($file['name'])))[0],$allowedextensions)) 

indexing return value of function not supported in version of php in use. upgrade newer version, or turn separate statements.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -