My own PHP Extension Released – several time savers.

This weekend I’ve finished off my first public PHP extension using the (god awful) Zend PHP macro’s, function calls etc. There were 3 reasons for me doing this: 1) See how difficult it was 2) Create a true library for PHP projects to reduce code repetition across projects. 3) Add some speed to projects that crunch a lot of data in PHP. The extension I’ve released adds the following functions: /** * Given a multi line input, removes empty lines and whitespace at the ^ and $ of each line. * Remove duplicate lines by setting the second param to … Continue reading