Fifth parameter is optional: http://php.net/manual/en/function.openssl-open.php PHP 7.1.8 OpenSSL 1.0.2k