<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.intlchar.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'intlchar.getbidipairedbracket.php',
    1 => 'IntlChar::getBidiPairedBracket',
    2 => 'Devuelve el car&aacute;cter de par&eacute;ntesis emparejado para un punto de c&oacute;digo',
  ),
  'up' => 
  array (
    0 => 'class.intlchar.php',
    1 => 'IntlChar',
  ),
  'prev' => 
  array (
    0 => 'intlchar.fordigit.php',
    1 => 'IntlChar::forDigit',
  ),
  'next' => 
  array (
    0 => 'intlchar.getblockcode.php',
    1 => 'IntlChar::getBlockCode',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/intl/intlchar/getbidipairedbracket.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intlchar.getbidipairedbracket" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlChar::getBidiPairedBracket</h1>
  <p class="verinfo">(PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">IntlChar::getBidiPairedBracket</span> &mdash; <span class="dc-title">Devuelve el carácter de paréntesis emparejado para un punto de código</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlchar.getbidipairedbracket-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>IntlChar::getBidiPairedBracket</strong></span>(<span class="methodparam"><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.string.php" class="type string">string</a></span></span> <code class="parameter">$codepoint</code></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.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.null.php" class="type null">null</a></span></span></div>

  <p class="para rdfs-comment">
   Mapea el carácter especificado a su carácter de paréntesis emparejado.
  </p>
  <p class="para">
   Para <code class="code">IntlChar::PROPERTY_BIDI_PAIRED_BRACKET_TYPE !== IntlChar::BPT_NONE</code>, esto equivale a
   <span class="function"><a href="intlchar.charmirror.php" class="function">IntlChar::charMirror()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlchar.getbidipairedbracket-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt><code class="parameter">codepoint</code></dt>
    <dd>
     <p class="para">El valor <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> del punto de código (por ejemplo, <code class="literal">0x2603</code> para <em>U+2603 SNOWMAN</em>), o el carácter codificado como un <span class="type"><a href="language.types.string.php" class="type string">string</a></span> UTF-8 (por ejemplo, <code class="literal">&quot;\u{2603}&quot;</code>)</p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlchar.getbidipairedbracket-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">
   Devuelve el punto de código del paréntesis emparejado, o <code class="parameter">codepoint</code> mismo si no hay mapeo. Devuelve
   <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> en caso de error.
  </p>
  <p class="para">El tipo de retorno es <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> a menos que el punto de código haya sido pasado como un <span class="type"><a href="language.types.string.php" class="type string">string</a></span> UTF-8, en cuyo caso se devuelve un <span class="type"><a href="language.types.string.php" class="type string">string</a></span>. Devuelve <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> en caso de fallo.</p>
 </div>


 <div class="refsect1 examples" id="refsect1-intlchar.getbidipairedbracket-examples">
  <h3 class="title">Ejemplos</h3>
  <div class="example" id="example-1">
   <p><strong>Ejemplo #1 Probar diferentes puntos de código</strong></p>
   <div class="example-contents">
    <div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">IntlChar</span><span style="color: #007700">::</span><span style="color: #0000BB">getBidiPairedBracket</span><span style="color: #007700">(</span><span style="color: #0000BB">91</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">IntlChar</span><span style="color: #007700">::</span><span style="color: #0000BB">getBidiPairedBracket</span><span style="color: #007700">(</span><span style="color: #DD0000">'['</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>El ejemplo anterior mostrará:</p></div>
   <div class="example-contents screen">
    <div class="examplescode"><pre class="examplescode">int(93)
string(1) &quot;]&quot;</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 notes" id="refsect1-intlchar.getbidipairedbracket-notes">
  <h3 class="title">Notas</h3>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <p class="para">
    Este método está disponible desde la versión 52 de ICU.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlchar.getbidipairedbracket-seealso">
  <h3 class="title">Ver también</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="intlchar.charmirror.php" class="function" rel="rdfs-seeAlso">IntlChar::charMirror()</a> - Devuelve el car&aacute;cter &quot;imagen-espejo&quot; para un punto de c&oacute;digo</span></li>
    <li><strong><code><a href="class.intlchar.php#intlchar.constants.property-bidi-paired-bracket">IntlChar::PROPERTY_BIDI_PAIRED_BRACKET</a></code></strong></li>
    <li><strong><code><a href="class.intlchar.php#intlchar.constants.property-bidi-paired-bracket-type">IntlChar::PROPERTY_BIDI_PAIRED_BRACKET_TYPE</a></code></strong></li>
   </ul>
  </p>
 </div>


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