Classes vs. functions?

From: Date: Tue, 03 Jun 2003 03:31:02 +0000
Subject: Classes vs. functions?
Groups: php.general 
Request: Send a blank email to php-general+get-149870@lists.php.net to get a copy of this message
I have been mostly using function in my php code, and lately I have been curious about classes. I have a vague idea of classes from my C++ class that I took a few years back. Can someone please explain to me when is a class useful over a set of functions? I have seen very few code with classes, so pretty much always stayed away from it. Thanks, Vijay Avarachen

« previous php.general (#149870) next »