<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.strings.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.quotemeta.php',
    1 => 'quotemeta',
    2 => 'Maskiert (quotet) Meta-Zeichen',
  ),
  'up' => 
  array (
    0 => 'ref.strings.php',
    1 => 'String-Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.quoted-printable-encode.php',
    1 => 'quoted_printable_encode',
  ),
  'next' => 
  array (
    0 => 'function.rtrim.php',
    1 => 'rtrim',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/strings/functions/quotemeta.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.quotemeta" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">quotemeta</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">quotemeta</span> &mdash; <span class="dc-title">Maskiert (quotet) Meta-Zeichen</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.quotemeta-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>quotemeta</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$string</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Der Inhalt von <code class="parameter">string</code> wird mit einem Backslash
   (<code class="literal">\</code>) vor jedem Vorkommen von
   <div class="example-contents screen">. \ + * ? [ ^ ] ( $ )</div> versehen (&quot;quoten&quot;) und
   zurückgegeben.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.quotemeta-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">string</code></dt>
     <dd>
      <p class="para">
       Die Eingabezeichenkette.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.quotemeta-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt die Zeichenkette mit maskierten Metazeichen zurück oder <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>,
   falls eine leere Zeichenkette als <code class="parameter">string</code> übergeben
   wurde.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.quotemeta-examples">
  <h3 class="title">Beispiele</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Beispiel #1 <span class="function"><strong>quotemeta()</strong></span>-Beispiel</strong></p>
    <div class="example-contents">
<div class="annotation-interactive phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">quotemeta</span><span style="color: #007700">(</span><span style="color: #DD0000">'PHP is a popular scripting language. Fast, flexible, and pragmatic.'</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>Das oben gezeigte Beispiel erzeugt folgende Ausgabe:</p></div>
    <div class="example-contents screen">
<div class="annotation-interactive examplescode"><pre class="examplescode">string(69) &quot;PHP is a popular scripting language\. Fast, flexible, and pragmatic\.&quot;</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.quotemeta-notes">
  <h3 class="title">Anmerkungen</h3>
  <blockquote class="note"><p><strong class="note">Hinweis</strong>: <span class="simpara">Diese Funktion ist
binärsicher.</span></p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.quotemeta-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.addslashes.php" class="function" rel="rdfs-seeAlso">addslashes()</a> - Stellt bestimmten Zeichen eines Strings ein &quot;\&quot; voran</span></li>
    <li><span class="function"><a href="function.addcslashes.php" class="function" rel="rdfs-seeAlso">addcslashes()</a> - Stellt bestimmten Zeichen eines Strings ein &quot;\&quot; voran (wie in C)</span></li>
    <li><span class="function"><a href="function.htmlentities.php" class="function" rel="rdfs-seeAlso">htmlentities()</a> - Wandelt alle geeigneten Zeichen in entsprechende HTML-Entities um</span></li>
    <li><span class="function"><a href="function.htmlspecialchars.php" class="function" rel="rdfs-seeAlso">htmlspecialchars()</a> - Wandelt Sonderzeichen in HTML-Entities um</span></li>
    <li><span class="function"><a href="function.nl2br.php" class="function" rel="rdfs-seeAlso">nl2br()</a> - F&uuml;gt vor allen Zeilenumbr&uuml;chen eines Strings HTML-Zeilenumbr&uuml;che ein</span></li>
    <li><span class="function"><a href="function.stripslashes.php" class="function" rel="rdfs-seeAlso">stripslashes()</a> - Entfernt Maskierungszeichen aus einem String</span></li>
    <li><span class="function"><a href="function.stripcslashes.php" class="function" rel="rdfs-seeAlso">stripcslashes()</a> - Demaskiert einen mit addcslashes maskierten String</span></li>
    <li><span class="function"><a href="function.preg-quote.php" class="function" rel="rdfs-seeAlso">preg_quote()</a> - Maskiert Zeichen regul&auml;rer Ausdr&uuml;cke</span></li>
   </ul>
  </p>
 </div>


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