MySQL and PHP

5.29.10 SqlStatementResult::getWarnings

Copyright 1997-2021 the PHP Documentation Group.

Description

public array mysql_xdevapi\SqlStatementResult::getWarnings();

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

An array of Warning objects from the last operation. Each object defines an error 'message', error 'level', and error 'code'. An empty array is returned if no errors are present.

Examples

Example 5.144 mysql_xdevapi\SqlStatementResult::getWarnings example

<?php

/* ... */

?>