Php array problem

    $arr = [1,2,3];
    var_dump($arr);
    syntax error, unexpected "[" ;
    tp;
Mar.21,2021

php version problem 5.4 short array writing is supported

php 5.4


php version problem is above 5.4 before short array writing is supported

so consider whether it is compatible with you or $arr = array;


upgrade the php version, which is still in use. Sincerely 6

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bf83-2c2d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bf83-2c2d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?