<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ocilob.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  '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);

?>
<div id="ocilob.erase" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OCILob::erase</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">OCILob::erase</span> &mdash; <span class="dc-title">Erases a specified portion of the internal LOB data</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-ocilob.erase-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>OCILob::erase</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.integer.php" class="type int">int</a></span></span> <code class="parameter">$offset</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.integer.php" class="type int">int</a></span></span> <code class="parameter">$length</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Erases a specified portion of the internal LOB data starting at a
   specified <code class="parameter">offset</code>. If called without parameters, it
   erases all LOB data.
  </p>
  <p class="para">
   For BLOBs, erasing means that the existing LOB value is overwritten with
   zero-bytes. For CLOBs, the existing LOB value is overwritten with spaces.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-ocilob.erase-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">offset</code></dt>
     <dd>
      <p class="para">
      </p>
     </dd>
    
    
     <dt><code class="parameter">length</code></dt>
     <dd>
      <p class="para">
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-ocilob.erase-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Returns the actual number of characters/bytes erased Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben..
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-ocilob.erase-changelog">
  <h3 class="title">Changelog</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Beschreibung</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0, PECL OCI8 3.0.0</td>
      <td>
       <code class="parameter">offset</code> and <code class="parameter">length</code> are now nullable.
      </td>
     </tr>

     <tr>
      <td>8.0.0, PECL OCI8 3.0.0</td>
      <td>
       The <span class="classname"><strong class="classname">OCI-Lob</strong></span> class was renamed to
       <span class="classname"><a href="class.ocilob.php" class="classname">OCILob</a></span> to align with PHP naming standards.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-ocilob.erase-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><a href="ocilob.truncate.php" class="xref">OCILob::truncate</a></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>