mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove zend_atoi() (#7232)
It's the same as (int) zend_atol() -- it doesn't try to do anything integer size specific. Canonicalize to one function in preparation for renaming zend_atol() to something less misleading. FFI test is adjusted to use a zend_test function. It just calls zend_atol() internally, but could really be anything. Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
This commit is contained in:
parent
497858a043
commit
1cba7764b4
7 changed files with 18 additions and 37 deletions
|
@ -67,6 +67,8 @@ struct bug79096 {
|
|||
# define PHP_ZEND_TEST_API
|
||||
#endif
|
||||
|
||||
PHP_ZEND_TEST_API int ZEND_FASTCALL bug78270(const char *str, size_t str_len);
|
||||
|
||||
PHP_ZEND_TEST_API struct bug79096 bug79096(void);
|
||||
PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue