[phpstorm-stubs] WI-74930 add cubrid_lob2_write function stub

This commit is contained in:
Ivan Fedorov 2023-11-03 12:54:06 +01:00
parent 13e37a8a9e
commit 3b4c0b0701
2 changed files with 18 additions and 0 deletions

View File

@ -1910,6 +1910,7 @@ const FUNCTIONS = array (
'cubrid_lob2_size64' => 'cubrid/cubrid.php',
'cubrid_lob2_tell' => 'cubrid/cubrid.php',
'cubrid_lob2_tell64' => 'cubrid/cubrid.php',
'cubrid_lob2_write' => 'cubrid/cubrid.php',
'cubrid_lob_close' => 'cubrid/cubrid.php',
'cubrid_lob_export' => 'cubrid/cubrid.php',
'cubrid_lob_get' => 'cubrid/cubrid.php',

View File

@ -1857,6 +1857,23 @@ function cubrid_set_drop($conn_identifier, $oid, $attr_name, $set_element) {}
*/
function cubrid_version() {}
/**
* (PHP 5, CUBRID >= 8.4.0)<br/>
* Write a string into the LOB large object
*
* @link https://php.net/manual/en/function.cubrid-lob2-write.php
* @param resource $lob_identifier <p>
* LOB identifier obtained by cubrid_lob2_new() or cubrid_lob2_import().
* </p>
* @param string $buf <p>
* The string to be written into the LOB.
* </p>
* @return bool <p>
* Returns true on success, false on failure.
* </p>
*/
function cubrid_lob2_write($lob_identifier, string $buf): bool {}
/**
* Columns are returned into the array having a numerical index to the
* fields. This index starts with 0, the first field in the result.