
Here is a list of all deprecated functions and things in latest PHP 8.1.
- Serializable interface of
__serialize()and__unserializale()<- link this !!! - Passing
NULLto not null params in build-in php functions <- link this !!! - Automatic conversion of
falsevalues for arrays date_sunrise()anddate_sunset()key(),current(),next(),prev(), andreset()on objectsmb_check_encoding()without argumentget_class(),get_parent_class()andget_called_class()without argumentFILE_BINARYandFILE_TEXTconstantstfopen mode- Passing
boolfor$valueargument ofIntlCalendar::roll() - Accessing static members on traits
strptime()strftime()gmtstrftime()mhash()function familyctype_()function family accepts int parameters- Return by reference with
voidtype - NIL constant defined by the
IMAPextension - Calling overloaded
pgsqlfunctions without the connection argument $num_pointsparameter of image(open|filled)polygonmysqli::init()filter.defaultini settingauto_detect_line_endingsini settingssl_methodoption toSoapClientconstructorFILTER_SANITIZE_STRINGoci8.old_oci_close_semanticsini settingodbc_result_all()
More about PHP 8.1
Read more about all PHP 8.1 features and changes in here.