re #91: PHP 5.2 fixes