<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.password.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.password-get-info.php',
    1 => 'password_get_info',
    2 => 'Returns information about the given hash',
  ),
  'up' => 
  array (
    0 => 'ref.password.php',
    1 => 'Функції Хешування Пароля',
  ),
  'prev' => 
  array (
    0 => 'function.password-algos.php',
    1 => 'password_algos',
  ),
  'next' => 
  array (
    0 => 'function.password-hash.php',
    1 => 'password_hash',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/password/functions/password-get-info.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.password-get-info" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">password_get_info</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">password_get_info</span> &mdash; <span class="dc-title">Returns information about the given hash</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.password-get-info-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>password_get_info</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$hash</code></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   When passed in a valid hash created by an algorithm supported by
   <span class="function"><a href="function.password-hash.php" class="function">password_hash()</a></span>, this function will return an array of
   information about that hash.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.password-get-info-parameters">
  <h3 class="title">Параметри</h3>
  <dl>
   
    <dt><code class="parameter">hash</code></dt>
    <dd>
     <p class="para">
      Геш, створений функцією <span class="function"><a href="function.password-hash.php" class="function">password_hash()</a></span>.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.password-get-info-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns an associative array with three elements: 
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
       <code class="literal">algo</code>, which will match a
       <a href="password.constants.php" class="link">password algorithm constant</a>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">algoName</code>, which has the human readable name of the
      algorithm
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">options</code>, which includes the options
      provided when calling <span class="function"><a href="function.password-hash.php" class="function">password_hash()</a></span>
     </span>
    </li>
   </ul>
  </p>
 </div>

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