<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration85.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'migration85.windows-support.php',
    1 => 'Windows Support',
    2 => 'Windows Support',
  ),
  'up' => 
  array (
    0 => 'migration85.php',
    1 => 'Migrating from PHP 8.4.x to PHP 8.5.x',
  ),
  'prev' => 
  array (
    0 => 'migration85.other-changes.php',
    1 => 'Other Changes',
  ),
  'next' => 
  array (
    0 => 'migration84.php',
    1 => 'Migrating from PHP 8.3.x to PHP 8.4.x',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'appendices/migration85/windows-support.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="migration85.windows-support" class="sect1">
 <h2 class="title">Windows Support</h2>

 <div class="sect2" id="migration85.windows-support.core">
  <h3 class="title">Core</h3>

  <p class="simpara">
   The configuration variables <strong><code><a href="reserved.constants.php#constant.php-version">PHP_VERSION</a></code></strong>,
   <strong><code><a href="reserved.constants.php#constant.php-minor-version">PHP_MINOR_VERSION</a></code></strong>, and
   <strong><code><a href="reserved.constants.php#constant.php-release-version">PHP_RELEASE_VERSION</a></code></strong> are now always numbers.
   Previously, they have been strings for buildconf builds.
  </p>

  <p class="simpara">
   <strong class="command">phpize</strong> builds now reflect the source tree in the
   build dir (as it already worked for in-tree builds); some extension
   builds (especially when using Makefile.frag.w32) may need adjustments.
  </p>

  <p class="simpara">
   <strong class="option configure">--enable-sanitizer</strong> is now supported
   for MSVC builds.  This enables ASan and debug assertions, and is supported
   as of MSVC 16.10 and Windows 10.
  </p>

  <p class="simpara">
   The <strong class="option configure">--with-uncritical-warn-choke</strong>
   configuration option for clang builds is no longer supported.
   Select warnings to suppress via CFLAGS instead.
  </p>

 </div>

 <div class="sect2" id="migration85.windows-support.com">
  <h3 class="title">COM</h3>

  <p class="simpara">
   The extension is now build shared by default; previously it defaulted to a
   static extension, although the official Windows binaries built a shared
   extension.
  </p>

 </div>

 <div class="sect2" id="migration85.windows-support.ffi">
  <h3 class="title">FFI</h3>

  <p class="simpara">
   It is no longer necessary to specify the library when using
   <span class="methodname"><a href="ffi.cdef.php" class="methodname">FFI::cdef()</a></span> and <span class="methodname"><a href="ffi.load.php" class="methodname">FFI::load()</a></span>.
   However, this convenience feature should not be used in production.
  </p>

 </div>

 <div class="sect2" id="migration85.windows-support.streams">
  <h3 class="title">Streams</h3>

  <p class="simpara">
   If only pipe streams are contained in the <code class="parameter">$read</code>
   array, and the <code class="parameter">$write</code> and
   <code class="parameter">$except</code> arrays are empty,
   <span class="function"><a href="function.stream-select.php" class="function">stream_select()</a></span> now behaves similar to POSIX systems,
   i.e. the function only returns if at least one pipe is ready to be read,
   or after the timeout expires.
   Previously, <span class="function"><a href="function.stream-select.php" class="function">stream_select()</a></span> returned immediately,
   reporting all streams as ready to read.
  </p>

 </div>

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