MysqlndUhConnection::getErrorString Returns a string description of the last error &reftitle.description; public stringMysqlndUhConnection::getErrorString mysqlnd_connectionconnection Returns a string description of the last error. &reftitle.parameters; connection Mysqlnd connection handle. Do not modify! &reftitle.returnvalues; Error string for the most recent function call. &reftitle.examples; MysqlndUhConnection::getErrorString is not only executed after the invocation of a user space API call which maps directly to it but also called internally. <function>MysqlndUhConnection::getErrorString</function> example query("WILL_I_EVER_LEARN_SQL?"); printf("errno...\n"); var_dump($mysqli->error); printf("close...\n"); $mysqli->close(); ?> ]]> &example.outputs; NULL, )) proxy::getErrorString returns '' query... errno... proxy::getErrorString(array ( 0 => NULL, )) proxy::getErrorString returns 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'WILL_I_EVER_LEARN_SQL?\' at line 1' string(168) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WILL_I_EVER_LEARN_SQL?' at line 1" close... ]]> &reftitle.seealso; mysqlnd_uh_set_connection_proxy MysqlndUhConnection::getErrorNumber mysqli_error mysql_error