For example, if you're using PHP, you could simply upgrade to PHP 5.2 and be done with it; this recent version of PHP ...