Re: Function/alias naming conflict: close()?
| From: | Lars Torben Wilson | Date: | Mon, 11 Sep 2000 06:45:00 +0000 |
| Subject: | Re: Function/alias naming conflict: close()? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32882@lists.php.net to get a copy of this message | ||
Hartmut Holzgraefe writes:
> Lars Torben Wilson wrote:
> > Seems to be a function name conflict between /ext/standard/dir.c's
> > close() alias to closedir(), and ext/sockets/sockets.c's close()
> > function. Is this correct?
>
> i got fooled by this myself (and the function table parser still is)
>
> the close() in dir.c is a method of the directory class
> (see http://php.net/manual/class.dir.php)
>
> so there is no conflict as only one of the functions is of global
> scope
Sheesh. :) This reminds me--was this discussed here a week or two ago?
Thanks,
Torben
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+