I am currently working on a Object-Oriented Library extension that wraps a lot of functionality in PHP's standard library dealing with strings, arrays, fileIO, etc. into classes.
(String class, Collection class, etc.) This would allow end-users to create objects that represent data types and resources, and take advantage of all the benefits of OOP (object chaining, polymorphism, etc) all in a c compiled extension. Example: $myString=new String("Hello world!"); $myLowerCaseString = $myString->copy()->replace("world","universe")->lowerCase(); The goal of this project is to help PHP mature into a more object-oriented language with an object oriented library, while addressing a common complaint about the standard library not being very consistent (http://en.wikipedia.org/wiki/Php#Criticism [8th bullet]) I have already implemented a couple classes, but would like to get feedback from the PHP development community on the idea of creating such a library for PHP. Also, any suggestions would be greatly appreciated. Thanks, Jordan Wambaugh