You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new here so maybe I'm missing something. Can you please explain why can't we just use ini_get('memory_limit') and then, using the numeric value, get value in bytes by multiplying it by 1024**3 for 'G', 1024**2 for 'M' and 1024 for 'K'? A simple function could do it, doesn't it?
Just wondering if we really need a namespace, 5 new php files, and a composer on top to install the whole thing.
The text was updated successfully, but these errors were encountered:
I'm new here so maybe I'm missing something. Can you please explain why can't we just use
ini_get('memory_limit')
and then, using the numeric value, get value in bytes by multiplying it by1024**3
for'G'
,1024**2
for'M'
and1024
for'K'
? A simple function could do it, doesn't it?Just wondering if we really need a namespace, 5 new php files, and a composer on top to install the whole thing.
The text was updated successfully, but these errors were encountered: