<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'intlchar.istitle.php',
    1 => 'IntlChar::istitle',
    2 => 'Check if code point is a titlecase letter',
  ),
  'up' => 
  array (
    0 => 'class.intlchar.php',
    1 => 'IntlChar',
  ),
  'prev' => 
  array (
    0 => 'intlchar.isspace.php',
    1 => 'IntlChar::isspace',
  ),
  'next' => 
  array (
    0 => 'intlchar.isualphabetic.php',
    1 => 'IntlChar::isUAlphabetic',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/intl/intlchar/istitle.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intlchar.istitle" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlChar::istitle</h1>
  <p class="verinfo">(PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">IntlChar::istitle</span> &mdash; <span class="dc-title">Check if code point is a titlecase letter</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlchar.istitle-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>IntlChar::istitle</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.null.php" class="type null">?</a></span><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></span></div>

  <p class="para rdfs-comment">
   Determines whether the specified code point is a titlecase letter.
  </p>
  <p class="para">
   <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> for general category &quot;Lt&quot; (titlecase letter).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlchar.istitle-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">codepoint</code></dt>
    <dd>
     <p class="para">The <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> codepoint value (e.g. <code class="literal">0x2603</code> for <em>U+2603 SNOWMAN</em>), or the character encoded as a UTF-8 <span class="type"><a href="language.types.string.php" class="type string">string</a></span> (e.g. <code class="literal">&quot;\u{2603}&quot;</code>)</p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlchar.istitle-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if
   <code class="parameter">codepoint</code> is a titlecase letter, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if not. Returns <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-intlchar.istitle-examples">
  <h3 class="title">Esempi</h3>
  <div class="example" id="example-1">
   <p><strong>Example #1 Testing different code points</strong></p>
   <div class="example-contents">
    <div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">// Latin Capital Letter Dz with Caron U+01C4<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">istitle</span><span style="color: #007700">(</span><span style="color: #DD0000">"Ǆ"</span><span style="color: #007700">));<br /></span><span style="color: #FF8000">// Latin Capital Letter D with Small Letter Z with Caron U+01C5<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">istitle</span><span style="color: #007700">(</span><span style="color: #DD0000">"ǅ"</span><span style="color: #007700">));<br /></span><span style="color: #FF8000">// Latin Small Letter Dz with Caron U+01C6<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">istitle</span><span style="color: #007700">(</span><span style="color: #DD0000">"ǆ"</span><span style="color: #007700">));<br /><br /></span><span style="color: #FF8000">// Greek Capital Letter Alpha with Prosgegrammeni U+1FBC<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">istitle</span><span style="color: #007700">(</span><span style="color: #DD0000">"ᾼ"</span><span style="color: #007700">));<br /></span><span style="color: #FF8000">// Greek Small Letter Alpha with Ypogegrammeni U+1FB3<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">istitle</span><span style="color: #007700">(</span><span style="color: #DD0000">"ᾳ"</span><span style="color: #007700">));<br /></span><span style="color: #FF8000">// Greek Capital Letter Alpha U+0391<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">istitle</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>Il precedente esempio visualizzerà:</p></div>
   <div class="example-contents screen">
    <div class="examplescode"><pre class="examplescode">bool(false)
bool(true)
bool(false)
bool(true)
bool(false)
bool(false)</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlchar.istitle-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="intlchar.isupper.php" class="function" rel="rdfs-seeAlso">IntlChar::isupper()</a> - Check if code point has the general category &quot;Lu&quot; (uppercase letter)</span></li>
    <li><span class="function"><a href="intlchar.islower.php" class="function" rel="rdfs-seeAlso">IntlChar::islower()</a> - Check if code point is a lowercase letter</span></li>
    <li><span class="function"><a href="intlchar.totitle.php" class="function" rel="rdfs-seeAlso">IntlChar::totitle()</a> - Make Unicode character titlecase</span></li>
   </ul>
  </p>
 </div>


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