class_exists

(PHP4 >= 4.0b4)

class_exists -- Checks if the class has been defined

Description

bool class_exists (string class_name)

This function returns true if the class given by class_name has been defined, false otherwise.