[php-src] Issue #15873: The `zend_atol` function has been deprecated. What is the replacement function?

From: Date: Fri, 13 Sep 2024 11:11:23 +0000
Subject: [php-src] Issue #15873: The `zend_atol` function has been deprecated. What is the replacement function?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247775@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15873 Author: matyhtf ### 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/optimize-server-code/ext-src/php_swoole.cc#L352> How should we modify the code? Best regards.

« previous php.bugs (#247775) next »