sybase_close

Closes a Sybase connection

Warning

This function was REMOVED in PHP 7.0.0.

Description

bool sybase_close ([ resource $link_identifier ] )

sybase_close closes the link to a Sybase database that's associated with the specified link link_identifier.

Note that this isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.

sybase_close will not close persistent links generated by sybase_pconnect.

Parameters

link_identifier

If the link identifier isn't specified, the last opened link is assumed.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

  • sybase_connect
  • sybase_pconnect