Re: Ques: Conflicting functions in two include files.

From: Date: Fri, 23 Jan 2004 19:10:23 +0000
Subject: Re: Ques: Conflicting functions in two include files.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175561@lists.php.net to get a copy of this message
--- Robert Cummings <robert@interjinn.com> wrote: > IMHO encapsulating functions in objects provides decent namespacing > functionality. I can't really see a large need beyond what classes > provide. True that then there's still an issue with class names, but > that's less frequent a collision. I think most people agree with you (this is PEAR's approach, after all), but I have never been a fan of using classes solely for the purpose of solving potential collision problems. Namespaces are one of the very few things that I find myself wanting in PHP. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#175561) next »