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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -