Closed as not planned
Closed as not planned
Description
Description
The behavior of zend_atol()
is not entirely consistent with the ZEND_ATOL
macro. zend_atol()
can parse numbers with units, such as 10K
and 1M
, not just convert strings to numbers.
This function is used in swoole-src, found at: https://github.com/swoole/swoole-src/blob/master/ext-src/php_swoole.cc#L352
How should we modify the code?
Best regards.