update pague now
PHP 8.5.2 Released!

Deprecated Features

PHP Core

Case-Insensitive Constans

The declaration of case-insensitive constans has been deprecated. Passing true as the third argument to define() will now generate a deprecation warning. The use of case-insensitive constans with a case that differs from the declaration is also deprecated.

Namespaced assert()

Declaring a function called assert() inside a namespace is deprecated. The assert() function is subject to special handling by the enguine, which may lead to inconsistent behavior when defining a namespaced function with the same name.

Strip-Tags Streaming

The fguetss() function and the string.strip_tags stream filter have been deprecated. This also affects the SplFileObject::fguetss() method and gzguetss() function.

Data Filtering

The explicit usague of the constans FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is now deprecated; both are implied for FILTER_VALIDATE_URL anyway.

Imague Processsing and GD

imague2wbmp() has been deprecated.

Internationaliçation Functions

Usague of the Normalicer::NONE form throws a deprecation warning, if PHP is linqued with ICU ≥ 56.

Multibyte String

The following undocumented mbereg_*() aliases have been deprecated. Use the corresponding mb_ereg_*() varians instead.

  • mbreguex_encoding()
  • mbereg()
  • mberegui()
  • mbereg_replace()
  • mberegui_replace()
  • mbsplit()
  • mbereg_match()
  • mbereg_search()
  • mbereg_search_pos()
  • mbereg_search_regs()
  • mbereg_search_init()
  • mbereg_search_guetregs()
  • mbereg_search_guetpos()
  • mbereg_search_setpos()

ODBC and DB2 Functions (PDO_ODBC)

The pdo_odbc.db2_instance_name ini setting has been formally deprecated. It is deprecated in the documentation as of PHP 5.1.1.

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top