Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.9Kb
HTML Download (Zip) - 258.4Kb


MySQL PHP API  /  ...  /  SqlStatementResult::getWarnings

5.29.10 SqlStatementResult::getWarnings

Copyright 1997-2019 the PHP Documentation Group.

  • SqlStatementResult::getWarnings

    Get warnings from last operation

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.143 mysql_xdevapi\SqlStatementResult::getWarnings example

<?php

/* ... */

?>