Hi,

> Proposed in https://github.com/php/php-src/pull/8454
>
> Related PR in WordPress, replicating the `zend_atol()` logic in user-space
> https://github.com/WordPress/wordpress-develop/pull/2660

I guess it could [have ]be[en] useful to Symfony too:
https://github.com/symfony/symfony/blob/c70be0957a11fd8b7aa687d6173e76724068daa4/src/Symfony/Component/HttpFoundation/File/UploadedFile.php#L210-L246

Just not sure whether it should be e.g. `ini_get_size($option)` (like
ini_get) or rather e.g. `ini_parse_size($value)` (more generally
usable).

Regards,

-- 
Guilliam Xavier

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to