# [PATCH] Fix for 27097

- Thread: https://externals.io/message/7424
- Original archive: https://news-web.php.net/php.internals/7424
- Started by Stefan Walk on 2004-01-30T16:15:49+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7424 — Stefan Walk — 2004-01-30T16:15:49+00:00

URL: https://externals.io/message/7424#7424

Hi!

There is an inconsistency in the Zend API (See #27097) so integers are
reported as "integer" by zend_zval_type_name but "long" by
zend_parse_arg_impl causing confusion for users not knowing C,
the attached patch fixes it.

Stefan
-- 
Regards,
Stefan Walk
<swalk@prp.physik.tu-darmstadt.de

---

## #7425 — Derick Rethans — 2004-01-30T16:58:36+00:00

URL: https://externals.io/message/7424#7425 · In reply to: #7424

> Hi!
>
> There is an inconsistency in the Zend API (See #27097) so integers are
> reported as "integer" by zend_zval_type_name but "long" by
> zend_parse_arg_impl causing confusion for users not knowing C,
> the attached patch fixes it.

This is wrong, it's a long, so keep it like that.

Derick
