oop - Has anyone attempted to make PHP's system functions more Object-Oriented? -
i'm curious if project exists attempts group (or most) of php's built-in functions more object-oriented class hierarchy. example, grouping string functions single string class, etc.
i realize won't solve problems (unless modifications took place @ php source code level), since built-in functions still accessible in global namespace, make usability easier.
to answer question, yes there exists several of libraries talking about. far 1 want use entirely different question. phpclasses , pear.org places start looking such libraries.
update: others have suggested spl library , wraps many of built in php functions. there still lots of php functions not wrap. leaving still without silver bullet.
in using frameworks such cakephp , zend (others too), have noticed attempt solve of these problems including own libraries , building basics such db connectivity frame work. frameworks may solution
Comments
Post a Comment