openssl_error_string(3) php man page | unix.com

Man Page: openssl_error_string

Operating Environment: php

Section: 3

OPENSSL_ERROR_STRING(3) 						 1						   OPENSSL_ERROR_STRING(3)

openssl_error_string - Return openSSL error message

SYNOPSIS
string openssl_error_string (void )
DESCRIPTION
openssl_error_string(3) returns the last error from the openSSL library. Error messages are queued, so this function should be called mul- tiple times to collect all of the information. The last error will be the most recent one.
RETURN VALUES
Returns an error message string, or FALSE if there are no more error messages to return.
EXAMPLES
Example #1 openssl_error_string(3) example <?php // lets assume you just called an openssl function that failed while ($msg = openssl_error_string()) echo $msg . "<br /> "; ?> PHP Documentation Group OPENSSL_ERROR_STRING(3)
Related Man Pages
socket_strerror(3) - php
openssl_verify(3) - php
cubrid_error_code(3) - php
dbx_error(3) - php
sybase_set_message_handler(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun