Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do we need this? #9

Open
rusproject opened this issue May 17, 2022 · 0 comments
Open

Why do we need this? #9

rusproject opened this issue May 17, 2022 · 0 comments

Comments

@rusproject
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant