Now errorMessage and errorCode method correctly returned error information on last executed statement when use PDO driver.
query method has now set the parameters in the strict type.
Fix for error "An iterator cannot be used with foreach by reference".