PHPSECLIB PATCH