File: other-changes.xml

package info (click to toggle)
php-doc 20250827~git.abe740d%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 71,968 kB
  • sloc: xml: 985,760; php: 25,504; javascript: 671; sh: 177; makefile: 37
file content (792 lines) | stat: -rw-r--r-- 25,400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
<?xml version="1.0" encoding="utf-8"?>
<sect1 xml:id="migration84.other-changes">
 <title>Other Changes</title>

 <sect2 xml:id="migration84.other-changes.core">
  <title>Core changes</title>

  <sect3 xml:id="migration84.other-changes.core.closures">
   <title>Closures</title>

   <simpara>
    Closure names have been adjusted to include the parent function's name
    and the line of definition to make them easier to distinguish, for example
    within stack traces.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.core.fibers">
   <title>Fibers</title>

   <simpara>
    Fiber switching during destructor execution is now allowed. It was previously
    blocked due to conflicts with garbage collection.
   </simpara>

   <simpara>
    Destructors may now be executed in a separate Fiber:
   </simpara>

   <simpara>
    When garbage collection is triggered in a Fiber,
    destructors called by the GC are executed in a separate Fiber:
    the gc_destructor_fiber.
    If this Fiber suspends, a new one is created to execute the remaining
    destructors.
    The previous gc_destructor_fiber is not referenced anymore by the GC
    and may be collected if it's not referenced anywhere else.
    Objects whose destructor is suspended will not be collected until the
    destructor returns or the <classname>Fiber</classname> is collected.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.core.output">
   <title>Output Handlers</title>

   <simpara>
    Output handler status flags passed to the <parameter>flags</parameter>
    parameter of <function>ob_start</function> are now cleared.
   </simpara>

   <simpara>
    <function>output_add_rewrite_var</function> now uses
    <link linkend="ini.url-rewriter.hosts"><literal>url_rewriter.hosts</literal></link>
    instead of
    <link linkend="ini.session.trans-sid-hosts"><literal>session.trans_sid_hosts</literal></link>
    for selecting hosts that will be rewritten.
   </simpara>
  </sect3>
 </sect2>

 <sect2 xml:id="migration84.other-changes.sapi">
  <title>Changes in SAPI Modules</title>

  <sect3 xml:id="migration84.other-changes.sapi.apache">
   <title>apache2handler</title>

   <simpara>
    Support for EOL Apache 2.0 and 2.2 has been removed.
    Minimum required Apache version is now 2.4.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.sapi.cli">
   <title>CLI</title>

   <simpara>
    The builtin server looks for an index file recursively by traversing parent
    directories in case the specified file cannot be located.
    This process was previously skipped if the path looked like it was
    referring to a file, i.e. if the last path component contained a period.
    In that case, a 404 error was returned.
    The behavior has been changed to look for an index file in all cases.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.sapi.fpm">
   <title>FPM</title>

   <simpara>
    Flushing headers without a body will now succeed.
    <!-- See GH-12785. -->
   </simpara>

   <simpara>
    Status page has a new field to display a memory peak.
   </simpara>

   <simpara>
    <!-- TODO Does this need a link? -->
    The <filename>/dev/poll</filename> <literal>events.mechanism</literal>
    setting for Solaris/Illumos had been retired.
   </simpara>
  </sect3>
 </sect2>

 <sect2 xml:id="migration84.other-changes.functions">
  <title>Changed Functions</title>

  <sect3 xml:id="migration84.other-changes.functions.core">
   <title>Core</title>

   <simpara>
    <function>trigger_error</function> and <function>user_error</function>
    now have a return type of <type>true</type> instead of <type>bool</type>.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.dom">
   <title>DOM</title>

   <simpara>
    <methodname>DOMDocument::registerNodeClass</methodname>
    now has a tentative return type of <type>true</type> instead of
    <type>bool</type>.
    It could only ever return &true; in practice.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.hash">
   <title>Hash</title>

   <simpara>
    <function>hash_update</function>
    now has a tentative return type of <type>true</type> instead of
    <type>bool</type>.
    It could only ever return &true; in practice.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.intl">
   <title>Intl</title>

   <simpara>
    <constant>NumberFormatter::ROUND_TOWARD_ZERO</constant> and
    <constant>NumberFormatter::ROUND_AWAY_FROM_ZERO</constant>
    have been added as aliases for
    <constant>NumberFormatter::ROUND_DOWN</constant> and
    <constant>NumberFormatter::ROUND_UP</constant>
    to be consistent with the new
    <constant>PHP_ROUND_<replaceable>*</replaceable></constant> modes.
   </simpara>

   <simpara>
    <methodname>ResourceBundle::get</methodname>
    <!-- TODO Use a proper union type for the return type -->
    now has a tentative return type of <literal>ResourceBundle|array|string|int|null</literal>.
   </simpara>

   <simpara>
    The <function>idn_to_ascii</function> and <function>idn_to_utf8</function>
    functions now always throw <exceptionname>ValueError</exceptionname>s
    if the <parameter>domain</parameter> name is empty or too long.
   </simpara>

   <simpara>
    The <function>idn_to_ascii</function> and <function>idn_to_utf8</function>
    functions now always throw <exceptionname>ValueError</exceptionname>
    if the <parameter>variant</parameter> parameter is not
    <constant>INTL_IDNA_VARIANT_UTS46</constant>.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.libxml">
   <title>LibXML</title>

   <simpara>
    <function>libxml_set_streams_context</function> now immediately throws a
    <exceptionname>TypeError</exceptionname> when a non-stream-context
    resource is passed to the function,
    instead of throwing later when the stream context is used.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.mbstring">
   <title>MBString</title>

   <simpara>
    The behavior of <function>mb_strcut</function> is more consistent
    now on invalid UTF-8 and UTF-16 strings.
    There is no behavioural change for valid UTF-8 and UTF-16 strings.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.odbc">
   <title>ODBC</title>

   <simpara>
    The <parameter>row</parameter> of
    <function>odbc_fetch_object</function>,
    <function>odbc_fetch_array</function>, and
    <function>odbc_fetch_into</function> now have a default value of &null;,
    consistent with <function>odbc_fetch_row</function>.
    Previously, the default values were
    <literal>-1</literal>,
    <literal>-1</literal>,
    and <literal>0</literal>,
    respectively.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.openssl">
   <title>OpenSSL</title>

   <simpara>
    The <parameter>extra_attributes</parameter> in
    <function>openssl_csr_new</function> sets the <acronym>CSR</acronym>
    attributes instead of subject DN, which incorrectly done previously.
   </simpara>

   <simpara>
    The <parameter>dn</parameter> in
    <function>openssl_csr_new</function> allows setting an <type>array</type>
    of values for a single entry.
   </simpara>

   <simpara>
    New <parameter>serial_hex</parameter> added to
    <function>openssl_csr_sign</function> to allow setting serial numbers
    in the hexadecimal format.
   </simpara>

   <simpara>
    Parsing ASN.1 UTCTime with <function>openssl_x509_parse</function>
    fails if seconds are omitted for OpenSSL version below 3.2
    (<literal>-1</literal> is returned for such fields).
    OpenSSL version above 3.3 did not load such certificates already.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.pdo">
   <title>PDO</title>

   <simpara>
    It is now possible to fetch the value of the
    <constant>PDO::ATTR_STRINGIFY_FETCHES</constant> attribute with
    <methodname>PDO::getAttribute</methodname>.
   </simpara>

   <simpara>
    A new <constant>PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE</constant>
    has been added to retrieve the memory usage of query results with
    <methodname>PDO::getAttribute</methodname> for drivers that support it.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.pdo-firebird">
   <title>PDO_FIREBIRD</title>

   <simpara>
    It is now possible to fetch the value of the
    <!-- TODO Is this a class constant of the driver class? -->
    <constant>FB_ATTR_DATE_FORMAT</constant>,
    <constant>FB_ATTR_TIME_FORMAT</constant>,
    <constant>FB_ATTR_TIMESTAMP_FORMAT</constant>,
    attributes with
    <!-- TODO Only for the specific driver class? -->
    <methodname>PDO::getAttribute</methodname>.
   </simpara>

   <para>
    Added new attributes to specify transaction isolation level and access mode.
    Five constants relating to this functionality have been added:

    <simplelist>
     <member><constant>Pdo\Firebird::TRANSACTION_ISOLATION_LEVEL</constant></member>
     <member><constant>Pdo\Firebird::READ_COMMITTED</constant></member>
     <member><constant>Pdo\Firebird::REPEATABLE_READ</constant></member>
     <member><constant>Pdo\Firebird::SERIALIZABLE</constant></member>
     <member><constant>Pdo\Firebird::WRITABLE_TRANSACTION</constant></member>
    </simplelist>
   </para>

   <simpara>
    When using persistent connections, there is now a liveliness check in the
    constructor.
   </simpara>

   <simpara>
    The content that is built changes depending on the value of
    <constant>FB_API_VER</constant> in
    <filename class="headerfile">ibase.h</filename>.
    A new static method <methodname>Pdo\Firebird::getApiVersion</methodname>
    can be used to obtain this information.
    This information is also now referenced in <function>phpinfo</function>.
   </simpara>

   <para>
    Five new data types are now available:
    <simplelist type="inline">
     <member><literal>INT128</literal></member>
     <member><literal>DEC16</literal></member>
     <member><literal>DEC34</literal></member>
     <member><literal>TIMESTAMP_TZ</literal></member>
     <member><literal>TIME_TZ</literal></member>
    </simplelist>
    .
    These are available starting with Firebird 4.0.
   </para>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.pdo-mysql">
   <title>PDO_MYSQL</title>

   <simpara>
    It is now possible to fetch the value of the
    <constant>PDO::ATTR_FETCH_TABLE_NAMES</constant> attribute with
    <!-- TODO Only for the specific driver class? -->
    <methodname>PDO::getAttribute</methodname>.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.pdo-pgsql">
   <title>PDO_PGSQL</title>

   <simpara>
    Support retrieving the memory usage of queries for
    <constant>PDO::PGSQL_ATTR_RESULT_MEMORY_SIZE</constant>.
   </simpara>

   <simpara>
    If the column is of type <literal>FLOAT4OID</literal> or
    <literal>FLOAT8OID</literal> the value will now be returned as a
    <type>float</type> instead of a <type>string</type>.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.pgsql">
   <title>PGSQL</title>

   <simpara>
    The <parameter>conditions</parameter> parameter of
    <function>pg_select</function> is now optional and accepts an empty array.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.phar">
   <title>Phar</title>

   <para>
    The
    <simplelist type="inline">
     <member><methodname>Phar::setAlias</methodname></member>
     <member><methodname>Phar::setDefaultStub</methodname></member>
    </simplelist>
    methods now have a tentative return type of <type>true</type>
    instead of <type>bool</type>.
   </para>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.posix">
   <title>POSIX</title>

   <simpara>
    <function>posix_isatty</function> now sets the error number when the
    file descriptor/stream argument is invalid.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.reflection">
   <title>Reflection</title>

   <simpara>
    <methodname>ReflectionGenerator::getFunction</methodname>
    may now be called after the generator finished executing.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.sockets">
   <title>Sockets</title>

   <simpara>
    The <parameter>backlog</parameter> parameter of
    <function>socket_create_listen</function> now has a default value of
    <constant>SOMAXCONN</constant>.
    Previously, it was <literal>128</literal>.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.sodium">
   <title>Sodium</title>

   <simpara>
    The <function>sodium_crypto_aead_aes256gcm_<replaceable>*</replaceable></function>
    functions are now available on aarch64 CPUs with the ARM cryptographic
    extensions.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.spl">
   <title>SPL</title>

   <para>
    The
    <simplelist type="inline">
     <member><methodname>SplPriorityQueue::insert</methodname></member>
     <member><methodname>SplPriorityQueue::recoverFromCorruption</methodname></member>
     <member><methodname>SplHeap::insert</methodname></member>
     <member><methodname>SplHeap::recoverFromCorruption</methodname></member>
    </simplelist>
    methods now have a tentative return type of <type>true</type>
    instead of <type>bool</type>.
   </para>

   <simpara>
    <classname>SplObjectStorage</classname> now implements
    <interfacename>SeekableIterator</interfacename>.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.functions.standard">
   <title>Standard</title>

   <simpara>

    The default <literal>'cost'</literal> value for the <constant>PASSWORD_BCRYPT</constant>
    hashing algorithm for <function>password_hash</function> has been increased from
    <literal>10</literal> to <literal>12</literal>.
    <!-- RFC: https://wiki.php.net/rfc/bcrypt_cost_2023 -->
   </simpara>

   <simpara>
    <function>debug_zval_dump</function> now indicates whether an array is packed.
   </simpara>

   <simpara>
    <function>long2ip</function> now has a return type of <type>string</type>
    <!-- TODO Proper union type -->
    instead of <literal>string|false</literal>.
   </simpara>

   <simpara>
    <!-- TODO Proper union type -->
    <function>highlight_string</function> now has a return type of
    <type>string|true</type> instead of <literal>string|bool</literal>.
   </simpara>

   <simpara>
    <!-- TODO Proper union type -->
    <function>print_r</function> now has a return type of
    <type>string|true</type> instead of <literal>string|bool</literal>.
   </simpara>

   <!-- TODO: Someone else take care of this - Girgias -->
   <sect4>
    <title>Rounding with <function>round</function></title>

    <simpara>
     The <parameter>mode</parameter> parameter of the
     <function>round</function> function has been widened to
     <!-- TODO Proper union type -->
     <literal>RoundingMode|int</literal>,
     <!-- TODO should be <enumname> ? -->
     accepting instances of a new <classname>RoundingMode</classname> enum.
     <!-- RFC: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum -->
    </simpara>

    <para>
     Four new modes have been added to the <function>round</function> function:
     <simplelist type="inline">
      <member><!-- <enumidentifier> -->RoundingMode::PositiveInfinity<!-- </enumidentifier> --></member>
      <member><!-- <enumidentifier> -->RoundingMode::NegativeInfinity<!-- </enumidentifier> --></member>
      <member><!-- <enumidentifier> -->RoundingMode::TowardsZero<!-- </enumidentifier> --></member>
      <member><!-- <enumidentifier> -->RoundingMode::AwayFromZero<!-- </enumidentifier> --></member>
     </simplelist>
     <!-- RFC: https://wiki.php.net/rfc/new_rounding_modes_to_round_function -->
    </para>

    <simpara>
     The internal implementation for rounding to integers has been rewritten
     to be easier to verify for correctness and to be easier to maintain.
     Some rounding bugs have been fixed as a result of the rewrite.
     For example previously rounding <literal>0.49999999999999994</literal>
     to the nearest integer would have resulted in <literal>1.0</literal>
     instead of the correct result <literal>0.0</literal>.
     Additional inputs might also be affected and result in different outputs
     compared to earlier PHP versions.
    </simpara>

    <simpara>
     Fixed a bug caused by "pre-rounding" of the <function>round</function> function.
     Previously, using "pre-rounding" to treat a value like <literal>0.285</literal>
     (actually <literal>0.28499999999999998</literal>) as a decimal number
     and round it to <literal>0.29</literal>.
     However, "pre-rounding" incorrectly rounds certain numbers,
     so this fix removes "pre-rounding" and changes the way numbers are compared,
     so that the values are correctly rounded as decimal numbers.
    </simpara>

    <simpara>
     The maximum precision that can be handled by <function>round</function>
     has been extended by one digit.
     For example, <code>round(4503599627370495.5)</code> returned in
     <literal>4503599627370495.5</literal>,
     but now returns <literal>4503599627370496</literal>.
    </simpara>

   </sect4>
  </sect3>

 </sect2>

 <sect2 xml:id="migration84.other-changes.extensions">
  <title>Other Changes to Extensions</title>

  <sect3 xml:id="migration84.other-changes.extensions.curl">
   <title>cURL</title>

   <simpara>
    The minimum libcurl version required is now 7.61.0.
   </simpara>

   <simpara>
    The <constant>CURLOPT_DNS_USE_GLOBAL_CACHE</constant> option no longer
    has any effect, and is silently ignored.
    This underlying feature was deprecated in libcurl 7.11.1,
    and removed in libcurl 7.62.0.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.gmp">
   <title>GMP</title>

   <!-- RFC: https://wiki.php.net/rfc/fix_up_bcmath_number_class -->
   <simpara>
    Casting a <classname>GMP</classname> object to <type>bool</type> is now
    possible instead of emitting a <constant>E_RECOVERABLE_ERROR</constant>.
    The casting behaviour is overloaded such that a <classname>GMP</classname>
    object representing the value <literal>0</literal> is cast to &false;.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.libxml">
   <title>LibXML</title>

   <simpara>
    The minimum libxml2 version required is now 2.9.4.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.intl">
   <title>Intl</title>

   <simpara>
    The behaviour of Intl class has been normalized to always throw
    <exceptionname>Error</exceptionname> exceptions when attempting to use
    a non-initialized object, or when cloning fails.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.mbstring">
   <title>MBString</title>

   <simpara>
    Unicode data tables have been updated to Unicode 16.0.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.mysqlnd">
   <title>MySQLnd</title>

   <simpara>
    Support for the new VECTOR data type from MySQL 9.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.openssl">
   <title>OpenSSL</title>

   <simpara>
    The minimum OpenSSL version required is now 1.1.1.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.pdo-pgsql">
   <title>PDO_PGSQL</title>

   <simpara>
    The minimum libpq version required is now 10.0.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.pgsql">
   <title>PGSQL</title>

   <simpara>
    The minimum libpq version required is now 10.0.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.spl">
   <title>SPL</title>

   <simpara>
    Out of bounds accesses in <classname>SplFixedArray</classname> now throw
    exceptions of type <exceptionname>OutOfBoundsException</exceptionname>
    instead of <exceptionname>RuntimeException</exceptionname>.
    Because <exceptionname>OutOfBoundsException</exceptionname> is a child
    class of <exceptionname>RuntimeException</exceptionname> no behavioural
    changes are exhibited when attempting to catch those exceptions.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.xsl">
   <title>XSL</title>

   <simpara>
    The typed properties <property>XSLTProcessor::$cloneDocument</property>
    and <property>XSLTProcessor::$doXInclude</property> are now declared.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.extensions.zlib">
   <title>Zlib</title>

   <simpara>
    The minimum zlib version required is now 1.2.11.
   </simpara>
  </sect3>
 </sect2>

 <sect2 xml:id="migration84.other-changes.performance">
  <title>Performance</title>

  <sect3 xml:id="migration84.other-changes.performance.core">
   <title>Core</title>

   <simpara>
    Improved the performance of floating point number parsing and formatting in
    ZTS builds under highly concurrent loads.
    This affects the <function>printf</function> family of functions as well
    as serialization functions such as <function>json_encode</function>,
    or <function>serialize</function>.
   </simpara>

   <simpara>
    <function>sprintf</function> using only <literal>%s</literal> and
    <literal>%d</literal> specifiers will be compiled into the equivalent
    string interpolation, avoiding the overhead of a function call and
    repeatedly parsing the format string.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.bcmath">
   <title>BCMath</title>

   <simpara>
    Improved performance of number conversions and operations.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.dom">
   <title>DOM</title>

   <simpara>
    The performance of <methodname>DOMNode::C14N</methodname> is greatly
    improved for the case without an xpath query.
    This can give a time improvement of easily two order of
    magnitude for documents with tens of thousands of nodes.
   </simpara>

   <simpara>
    Improved performance and reduce memory consumption of XML serialization.
   </simpara>

   <simpara>
    Reduced memory usage of node classes.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.ftp">
   <title>FTP</title>

   <simpara>
    Improved the performance of FTP uploads up to a factor of 10x for large
    uploads.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.hash">
   <title>Hash</title>

   <simpara>
    Added SSE2 and SHA-NI implementations of SHA-256.
    This improves the performance on supported CPUs by ~1.3x (SSE2),
    and 3x - 5x (SHA-NI).
    Credit to Colin Percival / Tarsnap for this optimization.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.mbstring">
   <title>MBString</title>

   <simpara>
    <function>mb_strcut</function> is much faster now for UTF-8
    and UTF-16 strings.
   </simpara>

   <simpara>
    Looking up mbstring encoding names is much faster now.
   </simpara>

   <simpara>
    The performance of converting SJIS-win to Unicode is greatly improved.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.mysqlnd">
   <title>MySQLnd</title>

   <simpara>
    Improved the performance of MySQLnd quoting.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.pcre">
   <title>PCRE</title>

   <simpara>
    Improved the performance of named capture groups.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.random">
   <title>Random</title>

   <simpara>
    Improved the performance of <classname>Random\Randomizer</classname>,
    with a specific focus on the
    <methodname>Random\Randomizer::getBytes</methodname>,
    and <methodname>Random\Randomizer::getBytesFromString</methodname> methods.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.simplexml">
   <title>SimpleXML</title>

   <simpara>
    Improved performance and reduce memory consumption of XML serialization.
   </simpara>
  </sect3>

  <sect3 xml:id="migration84.other-changes.performance.standard">
   <title>Standard</title>

   <simpara>
    The performance of <function>strspn</function> and
    <function>strcspn</function> is greatly improved.
    They now run in linear time instead of being bounded by quadratic time.
   </simpara>

   <simpara>
    Improved the performance of <function>strpbrk</function>.
   </simpara>

   <simpara>
    <function>get_browser</function> is much faster now,
    up to 1.5x - 2.5x for some test cases.
   </simpara>
  </sect3>
 </sect2>

</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->