I am aware that I can get the memory used with
memory_get_peak_usage();
but is there a way to tell in advance how much memory an array will need?
Thanks!
I am aware that I can get the memory used with
memory_get_peak_usage();
but is there a way to tell in advance how much memory an array will need?
Thanks!