added version comparison for fixed PHP bug http://bugs.php.net/bug.php?id=43364 refs #546