# [PATCH]#55651

- Thread: https://externals.io/message/55358
- Original archive: https://news-web.php.net/php.internals/55358
- Started by Avi Brender on 2011-09-11T04:55:45+00:00
- Messages: 1
- 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

---

## #55358 — Avi Brender — 2011-09-11T04:55:45+00:00

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

Hi Laruence,

Sure thing - I was just using the above code that verified the AUTOSEEK option as a template. I've changed it to use convert_to_boolean_ex as per your suggestion :)

Thanks!

Avi Brender
Elite Hosts, Inc
www.elitehosts.com


>  Hi:
>       after a quick look,  I have one suggestion,
>       if the (Z_TYPE_P(z_value) != IS_BOOL), you should call
>  convert_to_boolean_ex to convert it to a boolean
>       otherwise, people can not use a interge 1 as a true flag.
>
>       thanks
>
>  2011/9/11 Avi Brender<abrender@elitehosts.com>:
> > […]
