Skip to content

Commit db06b98

Browse files
authored
Mention support for binary/octal prefixes for INI settings (#1937)
1 parent 70ac605 commit db06b98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

appendices/migration82/other-changes.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,14 @@
235235
<sect2 xml:id="migration82.other-changes.ini">
236236
<title>Changes to INI File Handling</title>
237237

238+
<!-- Commit: https://github.com/php/php-src/commit/0f8b9eb49bd644f07175e9191d2cc146737446ad -->
239+
<para>
240+
Support for binary (<literal>0b</literal>/<literal>0B</literal>) and octal
241+
(<literal>0o</literal>/<literal>0O</literal>) prefixes has been added to integer INI settings.
242+
Integer INI settings that start with a zero (<literal>0</literal>)
243+
continue to be interpreted as an octal integer.
244+
</para>
245+
238246
<para>
239247
Parsing of some ill-formatted values will now trigger a warning when this
240248
was silently ignored before.

0 commit comments

Comments
 (0)