Closed scottrobertson closed 10 years ago
Any reason we are passing array by reference in the Arr class. PHP only duplicates the array in memory if you modify the array from what I remember.
Yeh. We're modifying the array, in the remove function, so I thought I'd just make them all force pass by reference for consistency.
Ah right ok, no worries.
Any reason we are passing array by reference in the Arr class. PHP only duplicates the array in memory if you modify the array from what I remember.