Re: Function/alias naming conflict: close()?
| From: | Hartmut Holzgraefe | Date: | Mon, 11 Sep 2000 06:44:36 +0000 |
| Subject: | Re: Function/alias naming conflict: close()? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32881@lists.php.net to get a copy of this message | ||
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
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de
+49-711-99091-77
Besuchen Sie uns auf der Buchmesse in Frankfurt, Halle 4.0, Stand D 1117
und auf der Systems in München , Halle C2, Stand 126