@@ -259,11 +259,15 @@ FPM:
259
259
========================================
260
260
261
261
Core:
262
- . The declaration of case-insensitive constants has been deprecate . Passing
262
+ . The declaration of case-insensitive constants has been deprecated . Passing
263
263
true as the third argument to define() will now generate a deprecation
264
264
warning. The use of case-insensitive constants with a case that differs from
265
265
the declaration is also deprecated.
266
266
(RFC: https://wiki.php.net/rfc/case_insensitive_constant_deprecation)
267
+ . Declaring a function called assert() inside a namespace is deprecated.
268
+ The assert() function is subject to special handling by the engine, which
269
+ may lead to inconsistent behavior when defining a namespaced function with
270
+ the same name.
267
271
268
272
Filter:
269
273
. The explicit usage of the constants FILTER_FLAG_SCHEME_REQUIRED and
274
278
. image2wbmp() has been deprecated.
275
279
276
280
Intl:
277
- . Usage of the Normalizer::NONE form throws a deprecation warning, if PHP is linked with ICU >= 56.
281
+ . Usage of the Normalizer::NONE form throws a deprecation warning, if PHP is
282
+ linked with ICU >= 56.
283
+
284
+ Mbstring:
285
+ . The following undocumented mbereg_*() aliases have been deprecated. Use the
286
+ corresponding mb_ereg_*() variants instead.
287
+ . mbregex_encoding()
288
+ . mbereg()
289
+ . mberegi()
290
+ . mbereg_replace()
291
+ . mberegi_replace()
292
+ . mbsplit()
293
+ . mbereg_match()
294
+ . mbereg_search()
295
+ . mbereg_search_pos()
296
+ . mbereg_search_regs()
297
+ . mbereg_search_init()
298
+ . mbereg_search_getregs()
299
+ . mbereg_search_getpos()
300
+ . mbereg_search_setpos()
301
+
302
+ PDO ODBC:
303
+ . The pdo_odbc.db2_instance_name ini setting has been formally deprecated. It
304
+ has already been deprecated in the documentation since PHP 5.1.1.
305
+
306
+ Standard:
307
+ . Passing a non-string needle to string search functions is deprecated. In the
308
+ future the needle will be interpreted as a string instead of an ASCII codepoint.
309
+ Depending on the intended behavior, you should either explicitly cast the
310
+ needle to string or perform an explicit call to ord(). The following functions
311
+ are affected:
312
+ . strpos()
313
+ . strrpos()
314
+ . stripos()
315
+ . strripos()
316
+ . strstr()
317
+ . strchr()
318
+ . strrchr()
319
+ . stristr()
320
+ . The fgetss() function and the string.strip_tags stream filter have been deprecated.
321
+ This also affects the SplFileObject::fgetss() method and gzgetss() function.
278
322
279
323
========================================
280
324
5. Changed Functions
0 commit comments