<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.oci8.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.oci-lob-copy.php',
    1 => 'oci_lob_copy',
    2 => 'Copies large object',
  ),
  'up' => 
  array (
    0 => 'ref.oci8.php',
    1 => 'OCI8 Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.oci-get-implicit-resultset.php',
    1 => 'oci_get_implicit_resultset',
  ),
  'next' => 
  array (
    0 => 'function.oci-lob-is-equal.php',
    1 => 'oci_lob_is_equal',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/oci8/functions/oci-lob-copy.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.oci-lob-copy" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">oci_lob_copy</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">oci_lob_copy</span> &mdash; <span class="dc-title">Copies large object</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.oci-lob-copy-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>oci_lob_copy</strong></span>(<span class="methodparam"><span class="type"><a href="class.ocilob.php" class="type OCILob">OCILob</a></span> <code class="parameter">$to</code></span>, <span class="methodparam"><span class="type"><a href="class.ocilob.php" class="type OCILob">OCILob</a></span> <code class="parameter">$from</code></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"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Copies a large object or a part of a large object to another large object.
   Old LOB-recipient data will be overwritten.
  </p>
  <p class="para">
   If you need to copy a particular part of a LOB to a particular position of
   a LOB, use <span class="function"><a href="ocilob.seek.php" class="function">OCILob::seek()</a></span> to move LOB internal pointers.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.oci-lob-copy-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">to</code></dt>
     <dd>
      <p class="para">
       The destination LOB.
      </p>
     </dd>
    
    
     <dt><code class="parameter">from</code></dt>
     <dd>
      <p class="para">
       The copied LOB.
      </p>
     </dd>
    
    
     <dt><code class="parameter">length</code></dt>
     <dd>
      <p class="para">
       Indicates the length of data to be copied.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.oci-lob-copy-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt bei Erfolg <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück. 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-function.oci-lob-copy-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">length</code> is now nullable.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 notes" id="refsect1-function.oci-lob-copy-notes">
  <h3 class="title">Anmerkungen</h3>
  <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
   <p class="para">
    The OCILob class was called OCI-Lob prior to PHP 8 and PECL OCI8 3.0.0.
   </p>
  </p></blockquote>
 </div>


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