rfc:deprecations_php_8_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
rfc:deprecations_php_8_1 [2021/06/30 08:24]
nikic
rfc:deprecations_php_8_1 [2021/06/30 08:30]
nikic
Line 16: Line 16:
   * ''FILE_BINARY'' and ''FILE_TEXT'' constants   * ''FILE_BINARY'' and ''FILE_TEXT'' constants
   * ''t'' fopen mode   * ''t'' fopen mode
-  * Passing bool for ''$amountOrUpOrDown'' argument of ''IntlCalendar::roll()''+  * Passing bool for ''$value'' argument of ''IntlCalendar::roll()''
   * Accessing static members on traits   * Accessing static members on traits
   * ''strptime()''   * ''strptime()''
Line 158: Line 158:
 </doodle> </doodle>
  
-==== Passing bool for $amountOrUpOrDown argument of IntlCalendar::roll() ====+==== Passing bool for $value argument of IntlCalendar::roll() ====
  
 <php>IntlCalendar::roll()</php> accepts an integer which specifies how much to add to a given field. The integer can be negative to subtract. <php>IntlCalendar::roll()</php> accepts an integer which specifies how much to add to a given field. The integer can be negative to subtract.
Line 166: Line 166:
 The proposal is to deprecate passing a boolean to this method argument. The proposal is to deprecate passing a boolean to this method argument.
  
-<doodle title="Deprecate passing bool for $amountOrUpOrDown argument of IntlCalendar::roll()?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate passing bool for $value argument of IntlCalendar::roll()?" auth="nikic" voteType="single" closed="false">
    * Yes    * Yes
    * No    * No
rfc/deprecations_php_8_1.txt · Last modified: 2021/07/14 07:23 by nikic