session_pgsql_get_error

(PECL)

session_pgsql_get_error -- Returns number of errors and last error message

说明

array session_pgsql_get_error ( [bool with_error_message] )

Get the number of errors and optional the error messages.

参数

with_error_message

Set to TRUE the literal error message for each error is also returned.

返回值

The number of errors are returned as array.