Closed dasim closed 8 years ago
There is INF (infinite) constant in PHP. Isn't that what we were looking for? Then there is no need for complex conditions when you are using FDTools... How much memory I have available? Infinite. Fine...
Current provided solution adds code compexity (a little) and everyone needs check, if FDTools returned availableMemory or zero.
What do you think? Is solution with INF better? Do you see any downsides of that solution?
-1
parsed as no limit