array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'ocilob.erase.php', 1 => 'OCILob::erase', 2 => 'Erases a specified portion of the internal LOB data', ), 'up' => array ( 0 => 'class.ocilob.php', 1 => 'OCILob', ), 'prev' => array ( 0 => 'ocilob.eof.php', 1 => 'OCILob::eof', ), 'next' => array ( 0 => 'ocilob.export.php', 1 => 'OCILob::export', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/oci8/ocilob/erase.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

OCILob::erase

(PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0)

OCILob::eraseErases a specified portion of the internal LOB data

Açıklama

public OCILob::erase(?int $offset = null, ?int $length = null): int|false

Erases a specified portion of the internal LOB data starting at a specified offset. If called without parameters, it erases all LOB data.

For BLOBs, erasing means that the existing LOB value is overwritten with zero-bytes. For CLOBs, the existing LOB value is overwritten with spaces.

Bağımsız Değişkenler

offset

length

Dönen Değerler

Returns the actual number of characters/bytes erased başarısızlık durumunda false döner.

Sürüm Bilgisi

Sürüm: Açıklama
8.0.0, PECL OCI8 3.0.0 offset and length are now nullable.
8.0.0, PECL OCI8 3.0.0 The OCI-Lob class was renamed to OCILob to align with PHP naming standards.

Ayrıca Bakınız