we all know that php is object oriented. tell me if i am wrong. the thing which i want to know is that how can we make objects private in php. like they can't be used anywhere else.
Well you are in charge of where they can and will be used as the programmer.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
Very few languages are pure instances of any paradigm. Even Java deviates from the object oriented paradigm slightly. PHP supports object oriented programming through the use of classes, but the programmer is not forced to do so.
Additionally, the lack of certain features available in other OO languages does not exclude PHP from the paradigm.