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 <i...@prohost.org>:

Here 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

Ilia Alshanetsky





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to