Author Archives: christer
PHP 5.4alpha1 was released the other day with some cool new features. One of them is an implementation of traits. From the RFC: Traits is a mechanism for code reuse in single inheritance languages such as PHP. A Trait is … Continue reading
I have played around with the mongo extension to PHP lately and came across an issue when I was trying to write unit tests with PHPUnit for some methods using MongoCollection::insert(). Consider a class method looking like this: The Image … Continue reading
I just changed the theme on this blog to the default WordPress theme. Please let me know if anything looks weird.
If you want to make your projects available to users as PEAR packages you will most likely want a PEAR channel. This way users can install/upgrade/remove your packages by using the pear command. There are a couple of solutions available … Continue reading
Just pushed a new version of SqlDiff. The new version supports colors in the output, and the generated statements inserts new columns at the correct positions. To install simply do: christer@aurora:~$ sudo pear channel-discover pear.starzinger.net Adding Channel “pear.starzinger.net” succeeded Discovery … Continue reading