Sybase considers severity levels 0-16 as non-fatal. Above that you probably don't want to block messages.
(PHP 4, PHP 5)
sybase_min_client_severity — Fija la severidad mínima del cliente Sybase
$severity
) : voidsybase_min_client_severity() fija el nivel mínimo de severidad del cliente.
severity
No devuelve ningún valor.
Nota: Esta función está disponible sólo cuando se utiliza la biblioteca CT de Sybase, y no la biblioteca DB.
Sybase considers severity levels 0-16 as non-fatal. Above that you probably don't want to block messages.
This parameter setup level of responce mesage filtering when you compile
--with-sybase_ct
<?
sybase_min_client_severity(9);
sybase_min_server_severity(9);
$db=sybase_connect("mdserver","sa","");
?>
Will result:
Warning: Sybase: Server message: Changed database context to 'master'.
(severity 10, procedure N/A) in
/var/www/html/DBAdmins/phpSybaseAdmin/test.php on line 4
<?
sybase_min_client_severity(100);
sybase_min_server_severity(100);
$db=sybase_connect("mdserver","sa","");
?>
Will not generate warning!!!
Can be used for SYBASE debugging !