Re: Ques: Conflicting functions in two include files.

From: Date: Fri, 23 Jan 2004 17:02:07 +0000
Subject: Re: Ques: Conflicting functions in two include files.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175538@lists.php.net to get a copy of this message
--- Al <news@ridersite.org> wrote: > I have a page that calls functions from two different include files. > Unfortunately, some of the functions have the same name; but are > slightly different. > > I know I can change the names of the conflicting functions; but, that > is a bit of a chore. I think this is exactly what you'll have to do. This is a direct result of the lack of namespacing in PHP, which is one of the valid complaints against it, although it does help to keep the syntax a bit simpler. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#175538) next »