<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration74.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'migration74.windows-support.php',
    1 => 'Windows のサポート',
    2 => 'Windows のサポート',
  ),
  'up' => 
  array (
    0 => 'migration74.php',
    1 => 'PHP 7.3.x から PHP 7.4.x への移行',
  ),
  'prev' => 
  array (
    0 => 'migration74.other-changes.php',
    1 => 'その他の変更',
  ),
  'next' => 
  array (
    0 => 'migration73.php',
    1 => 'PHP 7.2.x から PHP 7.3.x への移行',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'appendices/migration74/windows-support.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="migration74.windows-support" class="sect1">
 <h2 class="title">Windows のサポート</h2>

 <div class="sect2" id="migration74.windows-support.configure">
  <h3 class="title"><strong class="command">configure</strong> フラグ</h3>
  <p class="para">
   <strong class="command">configure</strong> コマンドは、<code class="literal">CFLAGS</code> や
   <code class="literal">LDFLAGS</code> を環境変数と見なすようになりました。
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.other">
  <h3 class="title">CTRLキーの扱い</h3>
  <p class="para">
   <span class="function"><a href="function.sapi-windows-set-ctrl-handler.php" class="function">sapi_windows_set_ctrl_handler()</a></span>
   関数でハンドラを設定することで、コンソールにおける
   <kbd class="keycombo">
    <kbd class="keycap">CTRL</kbd>
    +<kbd class="keycap">C</kbd>
   </kbd>
   や
   <kbd class="keycombo">
    <kbd class="keycap">CTRL</kbd>
    +<kbd class="keycap">BREAK</kbd>
   </kbd>
   をキャッチできるようになりました。
  </p>
  <p class="para">
   Windows における <span class="function"><a href="function.proc-open.php" class="function">proc_open()</a></span>
   関数は、&quot;create_process_group&quot;
   オプションを新たに渡せるようになりました。これは、子プロセスが
   CTRLイベントをハンドルする場合に必須です。
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.opcache">
  <h3 class="title">OPcache</h3>
  <p class="para">
   OPcache は、<code class="literal">opcache.cache_id</code>
   INIディレクティブを設定することで、ユーザー単位で別々のキャッシュを、任意の数だけ持つことをサポートしました。同一のキャッシュIDとユーザーを持つ全てのプロセスは、同一のOPcacheインスタンスを共有します。
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.stat">
  <h3 class="title">stat</h3>
  <p class="para">
   stat 関数の実装がリファクタリングされました。
  </p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     inode番号 が取得可能になりました。この値は NTFS
     のファイルインデックス をベースにしています。
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
    デバイス番号は、ボリュームのシリアル番号をベースにするようになりました。
    </span>
   </li>
  </ul>
  <p class="para">
   これらの値は、両方システムから取得され、64bitシステムで与えられるそのままの値であることに注意して下さい。32bitのシステムでは、これらの値はオーバーフローする可能性があるため、値は偽物です。
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.sqlite3">
  <h3 class="title">libsqlite3</h3>
  <p class="para">
   libsqlite3 は、 <var class="filename">php_sqlite3.dll</var>
   と <var class="filename">php_pdo_sqlite.dll</var>
   に静的にコンパイルされず、<var class="filename">libsqlite3.dll</var>
   として利用できるようになりました。
   <a href="sqlite3.installation.php" class="link">SQLite3</a> と
   <a href="ref.pdo-sqlite.php#ref.pdo-sqlite.installation" class="link">PDO_SQLITE</a>
   のインストール手順をそれぞれ参照ください。
  </p>
 </div>

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