You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_posts/2023-01-30-php-core-roundup-9.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ We publish the posts on our website, and you can subscribe to a newsletter; You
21
21
22
22
## PHP 8.2 Released
23
23
24
-
PHP 8.2 is here! With type-system improvements, `readonly `classes, sensitive parameter redaction support, a new "`random`" extension, and several new features and improvements, PHP 8.2.0 was released on December 08th, followed by a bug-fix release 8.2.1 on January 04th.
24
+
PHP 8.2 is here! With type-system improvements, `readonly `classes, sensitive parameter redaction support, a new "`random`" extension, and several new features and improvements, PHP 8.2.0 was released on December 08th, followed by a security-fix release 8.2.1 on January 05th.
25
25
26
26
Over **110 people**, along with our six PHP Foundation members, helped shape PHP 8.2. **Thank you for your amazing efforts 🙏🏼💜**.
27
27
@@ -155,14 +155,14 @@ Following are some changes that did not go through an RFC process because they a
155
155
- Remove the superfluous closing parentheses from class synopsis page includes in [b4df038cee](https://github.com/php/php-src/commit/b4df038cee) by Máté Kocsis 💜
156
156
- Always include the constructor on the class manual pages in [0fc60fab72](https://github.com/php/php-src/commit/0fc60fab72) by Máté Kocsis 💜
157
157
- Backport methodsynopsis role attributes changes from master in [6aa5e58414](https://github.com/php/php-src/commit/6aa5e58414) by Máté Kocsis 💜
158
-
- Fix [GH-10112](https://github.com/php/php-src/issues/10112): LDAP\Connection::__construct() refers to ldap_create() in [GH-10115](https://github.com/php/php-src/pull/10115) by Christoph M. Becker
158
+
- Fix [GH-10112](https://github.com/php/php-src/issues/10112): `LDAP\Connection::__construct()` refers to `ldap_create()` in [GH-10115](https://github.com/php/php-src/pull/10115) by Christoph M. Becker
159
159
- Only include the default constructor for non-abstract class synopses in [d832125b8e](https://github.com/php/php-src/commit/d832125b8e) by Máté Kocsis 💜
160
160
- Limit stack size in [GH-9104](https://github.com/php/php-src/pull/9104) by Arnaud Le Blanc 💜
161
161
- Optimize JMP[N]Z_EX to BOOL instead of QM_ASSIGN ([#10108](https://bugs.php.net/bug.php?id=10108)) in [6d9d2eb355](https://github.com/php/php-src/commit/6d9d2eb355) by Ilija Tovilo 💜
162
162
- Remove unnecessary check of p in `phpdbg_trim` ([#10122](https://bugs.php.net/bug.php?id=10122)) in [e288438373](https://github.com/php/php-src/commit/e288438373) by Niels
163
163
- Speed boost for `mb_stripos` (when not using UTF-8) in [744ca16e73](https://github.com/php/php-src/commit/744ca16e73) by Alex Dowad
164
-
- mb_str{i,}pos does not match illegal byte sequences against occurrences of mb_substitute_char in [GH-9613](https://github.com/php/php-src/pull/9613) by Alex Dowad
165
-
- Fix [#81740](https://bugs.php.net/bug.php?id=81740): PDO::quote() may return unquoted string in [921b6813da](https://github.com/php/php-src/commit/921b6813da) by Christoph M. Becker
164
+
-`mb_str{i,}pos` does not match illegal byte sequences against occurrences of `mb_substitute_char` in [GH-9613](https://github.com/php/php-src/pull/9613) by Alex Dowad
165
+
- Fix [#81740](https://bugs.php.net/bug.php?id=81740): `PDO::quote()` may return unquoted string in [921b6813da](https://github.com/php/php-src/commit/921b6813da) by Christoph M. Becker
166
166
- Make build work with newer OpenSSL in [5f90134bb6](https://github.com/php/php-src/commit/5f90134bb6) by Stanislav Malyshev
167
167
- Improve fix for bug [#81740](https://bugs.php.net/bug.php?id=81740) in [a6a80eefe0](https://github.com/php/php-src/commit/a6a80eefe0) by Stanislav Malyshev
168
168
- Fix memory leak in [683285165e](https://github.com/php/php-src/commit/683285165e) by Dmitry Stogov
@@ -171,7 +171,7 @@ Following are some changes that did not go through an RFC process because they a
171
171
- Force extension loading for new test in [da5cbca23e](https://github.com/php/php-src/commit/da5cbca23e) by Christoph M. Becker
172
172
- Skip tests under MSAN in [cf77762970](https://github.com/php/php-src/commit/cf77762970) by Arnaud Le Blanc 💜
173
173
- Fix [GH-9891](https://github.com/php/php-src/issues/9891): DateTime modify with unixtimestamp (@) must work like setTimestamp in [d19a70c9a0](https://github.com/php/php-src/commit/d19a70c9a0) by Derick Rethans 💜
174
-
- Fix [#10133](https://bugs.php.net/bug.php?id=10133) set variables_order en ensure $ENV is set in [bfa56cf62b](https://github.com/php/php-src/commit/bfa56cf62b) by Remi Collet
174
+
- Fix [#10133](https://bugs.php.net/bug.php?id=10133) set variables_order en ensure `$ENV` is set in [bfa56cf62b](https://github.com/php/php-src/commit/bfa56cf62b) by Remi Collet
175
175
- Fix bug [#77106](https://bugs.php.net/bug.php?id=77106): Missing separator in FPM FastCGI errors in [891b58d503](https://github.com/php/php-src/commit/891b58d503) by Jakub Zelenka 💜
176
176
- ext/opcache/jit/zend_jit: fix inverted bailout value in `zend_runtime_jit()` ([#10144](https://bugs.php.net/bug.php?id=10144)) in [d3a6eedf4a](https://github.com/php/php-src/commit/d3a6eedf4a) by Max Kellermann
177
177
- Cleanup redundant lookups in `phar_object.c` ([#10150](https://bugs.php.net/bug.php?id=10150)) in [7b2c3c11b2](https://github.com/php/php-src/commit/7b2c3c11b2) by Niels
@@ -192,11 +192,11 @@ Following are some changes that did not go through an RFC process because they a
192
192
- Use proper int|float union type instead of numeric ([#10162](https://bugs.php.net/bug.php?id=10162)) in [4cee2c0127](https://github.com/php/php-src/commit/4cee2c0127) by George Peter Banyard 💜
193
193
- Added missed return in [ca5f668f7c](https://github.com/php/php-src/commit/ca5f668f7c) by Dmitry Stogov
194
194
- ext/opcache/jit/zend_jit_trace: add missing lock for EXIT_INVALIDATE in [e217138b40](https://github.com/php/php-src/commit/e217138b40) by Max Kellermann
195
-
- Allow 'h' and 'k' flags to be combined for mb_convert_kana in [GH-10174](https://github.com/php/php-src/pull/10174) by Alex Dowad
195
+
- Allow `h` and `k` flags to be combined for `mb_convert_kana` in [GH-10174](https://github.com/php/php-src/pull/10174) by Alex Dowad
196
196
- Register parameter attributes via stub in `ext/zend_test` ([#10183](https://bugs.php.net/bug.php?id=10183)) in [3e48e52d93](https://github.com/php/php-src/commit/3e48e52d93) by Tim Düsterhus
197
197
- Fix null pointer dereference of param in [3a44c78f14](https://github.com/php/php-src/commit/3a44c78f14) by Niels Dossche
198
-
- Improve mb_detect_encoding's recognition of Turkish text in [f40c3fca88](https://github.com/php/php-src/commit/f40c3fca88) by Alex Dowad
199
-
- Fix memory leak in posix_ttyname() in [GH-10190](https://github.com/php/php-src/pull/10190) by George Peter Banyard 💜
198
+
- Improve `mb_detect_encoding`'s recognition of Turkish text in [f40c3fca88](https://github.com/php/php-src/commit/f40c3fca88) by Alex Dowad
199
+
- Fix memory leak in `posix_ttyname()` in [GH-10190](https://github.com/php/php-src/pull/10190) by George Peter Banyard 💜
200
200
- Fix [GH-10187](https://github.com/php/php-src/issues/10187): Segfault in stripslashes() with arm64 in [GH-10188](https://github.com/php/php-src/pull/10188) by Niels Dossche
201
201
- Fix variation5-win32(-mb).phpt wrt. parallel test execution in [GH-10189](https://github.com/php/php-src/pull/10189) by Christoph M. Becker
202
202
- Better document constructors in [eebf3bc0ba](https://github.com/php/php-src/commit/eebf3bc0ba) by Máté Kocsis 💜
@@ -207,12 +207,12 @@ Following are some changes that did not go through an RFC process because they a
207
207
- ext/opcache/zend_shared_alloc: add assertions on "locked" flag in [e1a25ff2ed](https://github.com/php/php-src/commit/e1a25ff2ed) by Max Kellermann
208
208
- ext/opcache/zend_shared_alloc: change "locked" check to assertion in [10d43c40dd](https://github.com/php/php-src/commit/10d43c40dd) by Max Kellermann
209
209
- Fix [GH-10202](https://github.com/php/php-src/issues/10202): posix_getgr(gid|nam)_basic.phpt fail in [d5f0362e59](https://github.com/php/php-src/commit/d5f0362e59) by Niels Dossche
210
-
- Implement mb_output_handler using fast text conversion filters in [a9a672048b](https://github.com/php/php-src/commit/a9a672048b) by Alex Dowad
211
-
- Implement mb_str_split using fast text conversion filters in [88c99afdac](https://github.com/php/php-src/commit/88c99afdac) by Alex Dowad
210
+
- Implement `mb_output_handler` using fast text conversion filters in [a9a672048b](https://github.com/php/php-src/commit/a9a672048b) by Alex Dowad
211
+
- Implement `mb_str_split` using fast text conversion filters in [88c99afdac](https://github.com/php/php-src/commit/88c99afdac) by Alex Dowad
212
212
- Mark default interned strings as valid UTF-8 where appropriate in [e2654a532a](https://github.com/php/php-src/commit/e2654a532a) by Alex Dowad
213
-
- Implement php_mb_zend_encoding_converter using fast text conversion filters in [953864661a](https://github.com/php/php-src/commit/953864661a) by Alex Dowad
214
-
- Implement mb_detect_encoding using fast text conversion filters in [0e7160b836](https://github.com/php/php-src/commit/0e7160b836) by Alex Dowad
215
-
- Use smart_str in mb_http_input rather than mbfl_memory_device in [3b5072f6f6](https://github.com/php/php-src/commit/3b5072f6f6) by Alex Dowad
213
+
- Implement `php_mb_zend_encoding_converter` using fast text conversion filters in [953864661a](https://github.com/php/php-src/commit/953864661a) by Alex Dowad
214
+
- Implement `mb_detect_encoding` using fast text conversion filters in [0e7160b836](https://github.com/php/php-src/commit/0e7160b836) by Alex Dowad
215
+
- Use `smart_str` in `mb_http_input` rather than `mbfl_memory_device` in [3b5072f6f6](https://github.com/php/php-src/commit/3b5072f6f6) by Alex Dowad
216
216
- Revert "Make build work with newer OpenSSL" in [255e08ac56](https://github.com/php/php-src/commit/255e08ac56) by Gabriel Caruso
217
217
- Zend/zend_ini_scanner: `zend_ini_scanner_get_filename()` returns const string in [5e9b335e24](https://github.com/php/php-src/commit/5e9b335e24) by Max Kellermann
218
218
- Zend/zend_ini_scanner: parse const strings in [2d662f325d](https://github.com/php/php-src/commit/2d662f325d) by Max Kellermann
@@ -252,7 +252,7 @@ Following are some changes that did not go through an RFC process because they a
252
252
- Add unit tests for mb_str_split/mb_substr on MacJapanese encoding in [d8b5b9fa55](https://github.com/php/php-src/commit/d8b5b9fa55) by Alex Dowad
253
253
- Optimize branch structure of UTF-8 decoder routine in [092ad3e462](https://github.com/php/php-src/commit/092ad3e462) by Alex Dowad
254
254
- Fix [GH-9710](https://github.com/php/php-src/issues/9710): phpdbg memory leaks by option "-h" in [GH-10237](https://github.com/php/php-src/pull/10237) by Niels Dossche
255
-
- Fix [GH-10251](https://github.com/php/php-src/issues/10251): Assertion `(flag & (1<<3)) == 0' failed in [GH-10254](https://github.com/php/php-src/pull/10254) by Niels Dossche
255
+
- Fix [GH-10251](https://github.com/php/php-src/issues/10251): Assertion `(flag & (1<<3)) == 0` failed in [GH-10254](https://github.com/php/php-src/pull/10254) by Niels Dossche
256
256
- Fix recently introduced `gh10251.phpt` in [6faeb9571d](https://github.com/php/php-src/commit/6faeb9571d) by Christoph M. Becker
257
257
- Add fast SSE2-based implementation of mb_strlen for known-valid UTF-8 strings in [b4cbaabd9b](https://github.com/php/php-src/commit/b4cbaabd9b) by Alex Dowad
258
258
- ext/opcache/jit/zend_jit_trace: fix memory leak in _compile_root_trace() ([#10146](https://bugs.php.net/bug.php?id=10146)) in [bcc5d268f6](https://github.com/php/php-src/commit/bcc5d268f6) by Max Kellermann
@@ -360,7 +360,7 @@ Following are some changes that did not go through an RFC process because they a
360
360
- Fix [GH-8086](https://github.com/php/php-src/issues/8086): Introduce mail.mixed_lf_and_crlf INI in [cc931af35d](https://github.com/php/php-src/commit/cc931af35d) by Jakub Zelenka 💜
361
361
- Delay debug JIT op_array dump until actual JIT-ing in [6676f5d3cb](https://github.com/php/php-src/commit/6676f5d3cb) by Dmitry Stogov
362
362
- Tweak SSE2-accelerated strtoupper() and strtolower() for speed in [0b7986f976](https://github.com/php/php-src/commit/0b7986f976) by Alex Dowad
363
-
- Fix [GH-10248](https://github.com/php/php-src/issues/10248): Assertion `!(zval_get_type(&(*(property))) == 10)' failed in [0801c567dc](https://github.com/php/php-src/commit/0801c567dc) by Niels Dossche
363
+
- Fix [GH-10248](https://github.com/php/php-src/issues/10248): Assertion `!(zval_get_type(&(*(property))) == 10)` failed in [0801c567dc](https://github.com/php/php-src/commit/0801c567dc) by Niels Dossche
364
364
- Fix [GH-10292](https://github.com/php/php-src/issues/10292) make the default value of the first parame of srand() and mt_srand() nullable ([#10380](https://bugs.php.net/bug.php?id=10380)) in [1f05d6ef80](https://github.com/php/php-src/commit/1f05d6ef80) by Máté Kocsis 💜
365
365
- Use fast encoding conversion filters in mb_send_mail in [8a73a68190](https://github.com/php/php-src/commit/8a73a68190) by Alex Dowad
366
366
- Use smart_str as dynamic buffer for extra headers in mb_send_mail in [23dab38fe9](https://github.com/php/php-src/commit/23dab38fe9) by Alex Dowad
0 commit comments