Closed shdehnavi closed 1 year ago
square bracket syntax is used instead of the array_push method, if we want to add one element to the array, it's better to use $array[] = because in that way there is no overhead of calling a function.
@animalillo Shall i need to do anything else to merge this PR?
square bracket syntax is used instead of the array_push method, if we want to add one element to the array, it's better to use $array[] = because in that way there is no overhead of calling a function.