From: [EMAIL PROTECTED] Operating system: Linux Red Hat 7.1 PHP version: 4.0.6 PHP Bug Type: InterBase related Bug description: Interbase and error handling
This may can't be exactly a bug, maybe you can consider it as a not implemented feature (I'm not sure about it). Well, when I'm triying to handle error generated by any Interbase function, it doesn't work. When I try the same with a MySQL function all goes ok. I'm interested in show my own error messages but it's imposible to handle any error generated by Interbase function. I have tried with error_handling(0), with the @ operator before the function, putting error_handling to 0 and ~E_ALL in PHP.INI but Interbase function always returns it own error message. For example I have this code in a object constructor: $this->IBConnection = @ibase_connect($this->SQLEDatabase, $this->SQLEUser, $this->SQLEPass, 'NONE', '0', '3'); if (!$this->IBConnection) trigger_error("No se pudo conectar con la base de datos", E_USER_ERROR); Then, it first shows me the default error message and then my own generated error message... -- Edit bug report at: http://bugs.php.net/?id=14328&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]