<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.password-get-info.php',
    1 => 'password_get_info',
    2 => '指定したハッシュに関する情報を返す',
  ),
  'up' => 
  array (
    0 => 'ref.password.php',
    1 => 'Password Hashing 関数',
  ),
  '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' => 'ja',
    '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">指定したハッシュに関する情報を返す</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">
   <span class="function"><a href="function.password-hash.php" class="function">password_hash()</a></span> がサポートするアルゴリズムで生成した有効なハッシュを渡すと、
   そのハッシュに関する情報の配列を返します。
  </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">
   三つの要素を持つ連想配列を返します。
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
       <code class="literal">algo</code> には、そのハッシュの
       <a href="password.constants.php" class="link">パスワードアルゴリズム定数</a>
       が含まれます。
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">algoName</code> には、そのアルゴリズムの名前が含まれます。
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">options</code> には、
      <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); ?>