Re: Add a constant to reflect --with-curlwrappers
| From: | Kalle Sommer Nielsen | Date: | Wed, 03 Apr 2013 07:46:32 +0000 |
| Subject: | Re: Add a constant to reflect --with-curlwrappers | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66904@lists.php.net to get a copy of this message | ||
2013/4/3 Hannes Magnusson <hannes.magnusson@gmail.com>:
> You'll actually have to assign the value of CURL_WRAPPERS_ENABLED to
> $curlwrappers, as defined() only checks if the constant exist.. not if
> its set to true :)
well, s/defined('CURL_WRAPPERS_ENABLED')/defined('CURL_WRAPPERS_ENABLED')
&& CURL_WRAPPERS_ENABLED/
Doesn't make it prettier (either way) =)
--
regards,
Kalle Sommer Nielsen
kalle@php.net