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

Remove zend_atoi() #7232

Merged
merged 3 commits into from
Jul 13, 2021
Merged

Remove zend_atoi() #7232

merged 3 commits into from
Jul 13, 2021

Conversation

nikic
Copy link
Member

@nikic nikic commented Jul 12, 2021

Just checking that the FFI test change work...

It's the same as (int) zend_atol() -- it doesn't try to do anything
integer size specific. Canonicalize to one function in prepation
for preparting 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.
ext/ffi/tests/bug78270_1.phpt Outdated Show resolved Hide resolved
ext/ffi/tests/bug78270_2.phpt Outdated Show resolved Hide resolved
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
@nikic nikic merged commit 1cba776 into php:master Jul 13, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants