Re: Re: POSIX 1003.1-2001 gethostname(2)
| From: | Ilia Alshanetsky | Date: | Tue, 30 Dec 2008 00:24:10 +0000 |
| Subject: | Re: Re: POSIX 1003.1-2001 gethostname(2) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42402@lists.php.net to get a copy of this message | ||
There is nothing wrong with using WRONG_PARAM_COUNT, it worked in the past and still works fine and quite a bit of code still uses it.
The code itself should work on windows, if the define for the function is specified.
On 29-Dec-08, at 7:00 PM, Kalle wrote:
Hi Ilia Den 30/12/2008 kl. 00.30 skrev Ilia Alshanetsky <ilia@prohost.org>:Ilia AlshanetskyHere is a pretty simple patch that will provide the indicated function. If no one objects I'll commit it to 5.3/6 branches in the next day or two. <gethostname.txt>You should use zend_parse_parameters_none() here. I have no test env here, but does it work on Windows?-Kalle