<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionfunction.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'reflectionfunction.export.php',
    1 => 'ReflectionFunction::export',
    2 => 'Exports function',
  ),
  'up' => 
  array (
    0 => 'class.reflectionfunction.php',
    1 => 'ReflectionFunction',
  ),
  'prev' => 
  array (
    0 => 'reflectionfunction.construct.php',
    1 => 'ReflectionFunction::__construct',
  ),
  'next' => 
  array (
    0 => 'reflectionfunction.getclosure.php',
    1 => 'ReflectionFunction::getClosure',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/reflection/reflectionfunction/export.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reflectionfunction.export" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionFunction::export</h1>
  <p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">ReflectionFunction::export</span> &mdash; <span class="dc-title">Exports function</span></p>

 </div>

 <div id="reflectionfunction.export-refsynopsisdiv">
   <div class="warning"><strong class="warning">Warnung</strong><p class="simpara">Diese Funktion ist seit
PHP 7.4.0 als <em>DEPRECATED</em> (veraltet) markiert und wurde in PHP 8.0.0
<em>ENTFERNT</em>. Von der Verwendung dieser Funktion wird
dringend abgeraten.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-reflectionfunction.export-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>ReflectionFunction::export</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$name</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$return</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Exports a Reflected function.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionfunction.export-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">name</code></dt>
     <dd>
      <p class="para">
       Die Reflection, die exportiert werden soll.
      </p>
     </dd>
    
    
     <dt><code class="parameter">return</code></dt>
     <dd>
      <p class="para">
       Wird dies auf <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> gesetzt, so wird der Export
zurückgegeben anstelle ihn auszugeben. Wird dies auf <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> gesetzt (der Standardwert), wird
das Gegenteil passieren.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionfunction.export-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Falls der Parameter
<code class="parameter">return</code> auf <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> gesetzt ist,
so wird der Export als ein <span class="type"><a href="language.types.string.php" class="type String">String</a></span>
zurückgegeben, andernfalls wird <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> zurückgegeben.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionfunction.export-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="reflectionfunction.invoke.php" class="methodname" rel="rdfs-seeAlso">ReflectionFunction::invoke()</a> - Invokes function</span></li>
    <li><span class="methodname"><a href="reflectionfunction.tostring.php" class="methodname" rel="rdfs-seeAlso">ReflectionFunction::__toString()</a> - Returns the string representation of the ReflectionFunction object</span></li>
   </ul>
  </p>
 </div>


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