Decoding byte-escaped \xFF strings in PHP

Friday, 31 Jul 2009
I came across a multi-byte (UTF-8) string this week, that was encoded by the single-byte escaping \x, for example: His nickname was \xE2\x80\x98the Angel\xE2\x80\x99, which is kind of a clich\xC3\xA9 in my opinion. Which represents... » read this

Bundling Javascript

Wednesday, 25 Mar 2009
Javascript is becoming increasingly popular. Frameworks like jQuery, MooTools and Prototype/Scriptaculous have opened up a wide array of possibilities to webdevelopers. As a result, many webpages depend on a series of Javascript source... » read this

Compiling PHP Zip module for OSX

Wednesday, 10 Dec 2008
After spending way too much time figuring out how to add modules to existing PHP installations on OSX, I realized this should be worth sharing. The procedure below works on Leopard, but should work on Tiger just as well (just not tested).... » read this

The (non)sense of PHP "magic quotes"

Thursday, 30 Oct 2008
This article will discuss the headache-giving "magic quotes" feature of PHP, which will be removed in PHP 6. I will highlight the idea behind it, explain how it exactly works, the problems it creates for developers, and finally:... » read this