<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration83.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'migration83.deprecated.php',
    1 => 'Застарілий функціонал',
    2 => 'Застарілий функціонал',
  ),
  'up' => 
  array (
    0 => 'migration83.php',
    1 => 'Перехід від PHP 8.2.x до PHP 8.3.x',
  ),
  'prev' => 
  array (
    0 => 'migration83.incompatible.php',
    1 => 'Backward Incompatible Changes',
  ),
  'next' => 
  array (
    0 => 'migration83.other-changes.php',
    1 => 'Other Changes',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'uk',
    'path' => 'appendices/migration83/deprecated.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="migration83.deprecated" class="sect1">
 <h2 class="title">Застарілий функціонал</h2>

 <div class="sect2" id="migration83.deprecated.core">
  <h3 class="title">Ядро PHP</h3>

  <div class="sect3" id="migration83.deprecated.core.saner-inc-dec-operators">
   <h4 class="title">Оператори інкременту/декременту</h4>

   <p class="para">
    Використання порожнього, не числового, не буквенно-числового рядка як
    параметру для оператора
    <a href="language.operators.increment.php" class="link">інкременту</a>
    (<code class="literal">++</code>) тепер застаріло.
    Проте інкремент не числового рядка застарів м&#039;яко. Це означає, що цей
    функціонал вже не варто застосовувати про написанні нового коду, але
    сповіщення <strong><code><a href="errorfunc.constants.php#constant.e-deprecated">E_DEPRECATED</a></code></strong> не буде показано.
    Натомість потрібно використовувати нову функцію
    <span class="function"><a href="function.str-increment.php" class="function">str_increment()</a></span>.
   </p>

   <p class="para">
    Використання порожнього, не числового рядка як параметру для оператора
    <a href="language.operators.increment.php" class="link">декременту</a>
    (<code class="literal">--</code>) тепер застаріло.
   </p>
   
  </div>

  <div class="sect3" id="migration83.deprecated.core.get-class">
   <h4 class="title">Виклик get_class()/get_parent_class() без параметрів</h4>

   <p class="para">
    Виклик <span class="function"><a href="function.get-class.php" class="function">get_class()</a></span> і <span class="function"><a href="function.get-parent-class.php" class="function">get_parent_class()</a></span>
    без параметрів тепер застарів.
   </p>
  </div>
 </div>

 <div class="sect2" id="migration83.deprecated.core.dba">
  <h3 class="title">DBA</h3>

  <p class="para">
   Виклик <span class="function"><a href="function.dba-fetch.php" class="function">dba_fetch()</a></span> з <code class="parameter">$dba</code> як третім
   параметром тепер застарів.
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.ffi">
  <h3 class="title">FFI</h3>

  <p class="para">
   Виклик статично <span class="methodname"><a href="ffi.cast.php" class="methodname">FFI::cast()</a></span>, <span class="methodname"><a href="ffi.new.php" class="methodname">FFI::new()</a></span>
   і <span class="methodname"><a href="ffi.type.php" class="methodname">FFI::type()</a></span> тепер застарів.
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.intl">
  <h3 class="title">Intl</h3>

  <p class="para">
   Константа <strong><code>U_MULTIPLE_DECIMAL_SEP*E*RATORS</code></strong>
   стала застарілою. Рекомендується використання константи
   <strong><code>U_MULTIPLE_DECIMAL_SEP*A*RATORS</code></strong> натомість.
  </p>
  <p class="para">
   Константа <strong><code><a href="class.numberformatter.php#numberformatter.constants.type-currency">NumberFormatter::TYPE_CURRENCY</a></code></strong> стала
   затарілою.
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.ldap">
  <h3 class="title">LDAP</h3>

  <p class="para">
   Виклик <span class="function"><a href="function.ldap-connect.php" class="function">ldap_connect()</a></span> без окремих
   <code class="parameter">$hostname</code> і <code class="parameter">$port</code> є застарілим.
   
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.mbstring">
  <h3 class="title">MBString</h3>

  <p class="para">
   Передача негативного <code class="parameter">$width</code> до
   <span class="function"><a href="function.mb-strimwidth.php" class="function">mb_strimwidth()</a></span> тепер застаріла.
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.phar">
  <h3 class="title">Phar</h3>

  <p class="para">
   Виклик <span class="methodname"><a href="phar.setstub.php" class="methodname">Phar::setStub()</a></span> з <span class="type">ресурсом</span> та
   <code class="parameter">$length</code> тепер застарів. Такі виклики варто замінити
   на: <code class="code">$phar-&gt;setStub(stream_get_contents($resource));</code>
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.random">
  <h3 class="title">Random</h3>

  <p class="para">
   Варіант <strong><code><a href="random.constants.php#constant.mt-rand-php">MT_RAND_PHP</a></code></strong> Mt19937 застарів.
   
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.reflection">
  <h3 class="title">Reflection</h3>

  <p class="para">
   Виклик <span class="methodname"><a href="reflectionproperty.setvalue.php" class="methodname">ReflectionProperty::setValue()</a></span> лише з одним
   параметром застарів. Для встановлення статичних властивостей передається
   <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> першим параметром.
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.standard">
  <h3 class="title">Стандартні функції</h3>

  <p class="para">
   Функція <span class="function"><a href="function.assert-options.php" class="function">assert_options()</a></span> тепер застаріла.
  </p>
  <p class="para">
   Константи <strong><code><a href="info.constants.php#constant.assert-active">ASSERT_ACTIVE</a></code></strong>,
   <strong><code><a href="info.constants.php#constant.assert-bail">ASSERT_BAIL</a></code></strong>, <strong><code><a href="info.constants.php#constant.assert-callback">ASSERT_CALLBACK</a></code></strong>,
   <strong><code><a href="info.constants.php#constant.assert-exception">ASSERT_EXCEPTION</a></code></strong>, і <strong><code><a href="info.constants.php#constant.assert-warning">ASSERT_WARNING</a></code></strong>
   застаріли.
  </p>

  <p class="para">
   INI налаштування <code class="literal">assert.*</code> застаріли. Докладно:
   <a href="migration83.other-changes.php#migration83.other-changes.ini" class="link">Зміни в обробці файлів INI
   </a>.
  </p>
  
 </div>

 <div class="sect2" id="migration83.deprecated.sqlite3">
  <h3 class="title">SQLite3</h3>

  <p class="para">
   Бажано використовувати винятки, бо попередження будуть вилучені в
   майбутньому. В цій версії виклик
   <code class="code">SQLite3::enableExceptions(false)</code> потягне за собою попередження
   про застарілий функціонал.
  </p>
 </div>

 <div class="sect2" id="migration83.deprecated.zip">
  <h3 class="title">Zip</h3>

  <p class="para">
   Константа <strong><code><a href="zip.constants.php#ziparchive.constants.fl-recompress">ZipArchive::FL_RECOMPRESS</a></code></strong> застаріла і буде
   видалена в майбутній версії libzip.
  </p>
 </div>

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