<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.strncasecmp.php',
    1 => 'strncasecmp',
    2 => 'Confronto sicuro con i testi binari, insensibile alle lettere
     maiuscole/minuscole sui primi n caratteri',
  ),
  'up' => 
  array (
    0 => 'ref.strings.php',
    1 => 'String Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.strnatcmp.php',
    1 => 'strnatcmp',
  ),
  'next' => 
  array (
    0 => 'function.strncmp.php',
    1 => 'strncmp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/strings/functions/strncasecmp.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.strncasecmp" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">strncasecmp</h1>
    <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">strncasecmp</span> &mdash; <span class="dc-title">
     Confronto sicuro con i testi binari, insensibile alle lettere
     maiuscole/minuscole sui primi n caratteri
    </span></p>

   </div>
   <div class="refsect1 unknown-1411" id="refsect1-function.strncasecmp-unknown-1411">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>strncasecmp</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$str1</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$str2</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$len</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

    <p class="para rdfs-comment">
     Questa funzione è simile a <span class="function"><a href="function.strcasecmp.php" class="function">strcasecmp()</a></span>, con la
     differenza che si può indicare il numero dei
     caratteri (<code class="parameter">len</code>) per ciascuna stringa
     che possono essere utilizzati per il confronto. 
    </p>
    <p class="simpara"> 
     Restituisce &lt; 0 if <code class="parameter">str1</code> se è minore di
     <code class="parameter">str2</code>; &gt; 0 se <code class="parameter">str1</code>
     è maggiore di <code class="parameter">str2</code>, e 0 se sono
     uguali.
    </p>
    <p class="simpara">
     Vedere anche <span class="function"><strong>ereg()</strong></span>, 
     <span class="function"><a href="function.strcasecmp.php" class="function">strcasecmp()</a></span>,
     <span class="function"><a href="function.strcmp.php" class="function">strcmp()</a></span>, 
     <span class="function"><a href="function.substr.php" class="function">substr()</a></span>, 
     <span class="function"><a href="function.stristr.php" class="function">stristr()</a></span> e
     <span class="function"><a href="function.strstr.php" class="function">strstr()</a></span>.
    </p>
   </div>

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