$insertvalues[] means to insert a new element into an array, its label is array_push (). He was also preferred because he created less overhead while running PHP.
Additionally:
For those who donโt know how the loop works.
foreach($fieldvalues as $fieldvalue)
every time a loop ... loop, the value of $fieldvalue becomes the next value that the pointer looks for in the $fieldvalues , adding this to the new $ insertvalues โโarray using the label syntax mentioned above.
Glycerine
source share