Here is a list of all deprecated functions and things in latest PHP 8.1.
- Serializable interface of
__serialize()
and__unserializale()
<- link this !!! - Passing
NULL
to not null params in build-in php functions <- link this !!! - Automatic conversion of
false
values 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_BINARY
andFILE_TEXT
constantst
fopen mode- Passing
bool
for$value
argument ofIntlCalendar::roll()
- Accessing static members on traits
strptime()
strftime()
gmtstrftime()
mhash()
function familyctype_()
function family accepts int parameters- Return by reference with
void
type - NIL constant defined by the
IMAP
extension - Calling overloaded
pgsql
functions without the connection argument $num_points
parameter of image(open|filled)polygonmysqli::init()
filter.default
ini settingauto_detect_line_endings
ini settingssl_method
option toSoapClient
constructorFILTER_SANITIZE_STRING
oci8.old_oci_close_semantics
ini settingodbc_result_all()
More about PHP 8.1
Read more about all PHP 8.1 features and changes in here.