PHP error unexpected '[' with php 5.3 -
this question has answer here:
- php unexpected '[' 1 answer
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
Post a Comment