<?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.strnatcasecmp.php',
    1 => 'strnatcasecmp',
    2 => 'Versione insensibile alle maiuscole/minuscole di confronto tra stringhe tramite
     l\'algoritmo dell&quot;ordine naturale&quot;',
  ),
  'up' => 
  array (
    0 => 'ref.strings.php',
    1 => 'String Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.strlen.php',
    1 => 'strlen',
  ),
  'next' => 
  array (
    0 => 'function.strnatcmp.php',
    1 => 'strnatcmp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/strings/functions/strnatcasecmp.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.strnatcasecmp" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">strnatcasecmp</h1>
    <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">strnatcasecmp</span> &mdash; <span class="dc-title">
     Versione insensibile alle maiuscole/minuscole di confronto tra stringhe tramite
     l&#039;algoritmo dell&quot;ordine naturale&quot;
    </span></p>

   </div>
   <div class="refsect1 unknown-1405" id="refsect1-function.strnatcasecmp-unknown-1405">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>strnatcasecmp</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="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

    <p class="para rdfs-comment">
     Questa funzione implementa un algoritmo di confronto che ordina le
     stringhe alfa-numeriche nel modo in cui lo farebbe un uomo. Il 
     comportamento di questa funzione è simile a
     <span class="function"><a href="function.strnatcmp.php" class="function">strnatcmp()</a></span>, tranne che il confronto non distingue tra le lettere maiuscole
     e minuscole. Per maggiori informazioni vedere: Martin Pool&#039;s <a href="https://github.com/sourcefrog/natsort" class="link external">&raquo;&nbsp;Natural Order String Comparison</a>
     page.
    </p>
    <p class="simpara">
     Al pari delle altre funzioni di confronto tra stringhe, questa restituisce
     &lt; 0 se <code class="parameter">str1</code> è 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.substr.php" class="function">substr()</a></span>,
     <span class="function"><a href="function.stristr.php" class="function">stristr()</a></span>, 
     <span class="function"><a href="function.strcmp.php" class="function">strcmp()</a></span>,
     <span class="function"><a href="function.strncmp.php" class="function">strncmp()</a></span>, 
     <span class="function"><a href="function.strncasecmp.php" class="function">strncasecmp()</a></span>,
     <span class="function"><a href="function.strnatcmp.php" class="function">strnatcmp()</a></span> e
     <span class="function"><a href="function.strstr.php" class="function">strstr()</a></span>.
    </p>
   </div>

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