Currently when exporting a php array it's using the pre 5.6 syntax array()
Is it possible to use the newer square bracket syntax? i.e. []
Thanks
Currently when exporting a php array it's using the pre 5.6 syntax array()
Is it possible to use the newer square bracket syntax? i.e. []
Thanks
The problem with replacing array()
with []
is that you suddenly don't support users on PHP < 5.4 (not that anyone should be using this version still, but I promise you that many legacy applications are still on this version or below). This switch would exclude these users from using HeidiSQL, for... almost no benefit at all.
I'm going to assume you meant deprecated, as depreciated means that it's lost value over time (which I very much think it has, though).
array()
is not deprecated, I hope I didn't confuse you. My point was that if we were to switch from array()
syntax to []
only, we would exclude all users of < PHP 5.4 because []
did not exist before PHP 5.4. However, it was based on a silly assumption I made that the array()
syntax would be removed in favor of []
.
Sorry for the confusion.
Please login to leave a reply, or register at first.