PHP error unexpected '[' with php 5.3 -


this question has answer here:

i can not use newer php version 5.3 , error message:

**parse error: syntax error, unexpected '[' in path/product.php on line 17** 

i founded on page php version problem, how can solve in php 5.3?

the code on line exactly:

$_productids = []; 

old version doesn't support syntax. update to:

$_productids = array(); 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -