Re: functions vs classes

From: Date: Mon, 04 Apr 2005 05:36:33 +0000
Subject: Re: functions vs classes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212155@lists.php.net to get a copy of this message
Hello, Quite good and short answer to your question: http://answers.google.com/answers/threadview?id=207071 -- Domas Juknevicius DuSTiN KRySaK wrote: > Novice PHPer, and i am wondering why one would use a function instead of > a class (or object)? They seem to server very similar in use. > > The way I see it, is a function if for repeated use in a project > specific manner, where as a class could be used for many projects. > > is this correct? > > Although one could just include the function library in multiple projects. > > Thanks! > > Dustin >

« previous php.general (#212155) next »