PHP 7.3 Codex Changelog
| Newly added | Improvements | Changed | Deprecations | Removals | |
|---|---|---|---|---|---|
| INI Directives | 5 | ‧ | 1 | ‧ | 1 |
| Constants | 106 | ‧ | 1 | ‧ | ‧ |
| Functions | 20 | 30 | ‧ | 17 | ‧ |
| Classes | 2 | ‧ | 1 | ‧ | ‧ |
Newly added
INI Directives
Global
syslog.identINI directive added
mbstring.regex_stack_limitINI directive added
session.cookie_samesiteINI directive added
syslog.facilityINI directive added
syslog.filterINI directive added
Constants
curl
CURLOPT_KEEP_SENDING_ON_ERRORConstant added
CURLOPT_PROXY_SSL_VERIFYPEERConstant added
CURLOPT_PROXY_SSL_VERIFYHOSTConstant added
CURLOPT_PROXY_SSL_OPTIONSConstant added
CURLOPT_PROXY_SSL_CIPHER_LISTConstant added
CURLOPT_PROXY_PINNEDPUBLICKEYConstant added
CURLOPT_PROXY_KEYPASSWDConstant added
CURLOPT_PROXY_CRLFILEConstant added
CURLOPT_PROXY_CAPATHConstant added
CURLOPT_PROXY_CAINFOConstant added
CURLOPT_PRE_PROXYConstant added
CURLOPT_PROXY_SSLCERTConstant added
CURLOPT_HTTP09_ALLOWEDConstant added
CURLOPT_HAPROXYPROTOCOLConstant added
CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MSConstant added
CURLOPT_DNS_SHUFFLE_ADDRESSESConstant added
CURLOPT_DISALLOW_USERNAME_IN_URLConstant added
CURLOPT_ABSTRACT_UNIX_SOCKETConstant added
CURLINFO_TOTAL_TIME_TConstant added
CURLINFO_STARTTRANSFER_TIME_TConstant added
CURLINFO_SPEED_UPLOAD_TConstant added
CURLINFO_SPEED_DOWNLOAD_TConstant added
CURLOPT_SOCKS5_AUTHConstant added
CURL_LOCK_DATA_CONNECTConstant added
CURL_LOCK_DATA_PSLConstant added
CURL_MAX_READ_SIZEConstant added
CURL_SSLVERSION_MAX_DEFAULTConstant added
CURLSSH_AUTH_GSSAPIConstant added
CURLPROXY_HTTPSConstant added
CURLOPT_TLS13_CIPHERSConstant added
CURLOPT_TIMEVALUE_LARGEConstant added
CURLOPT_SUPPRESS_CONNECT_HEADERSConstant added
CURLOPT_SSH_COMPRESSIONConstant added
CURL_SSLVERSION_MAX_TLSv1_0Constant added
CURLOPT_REQUEST_TARGETConstant added
CURLOPT_PROXY_TLSAUTH_USERNAMEConstant added
CURLOPT_PROXY_TLSAUTH_TYPEConstant added
CURLOPT_PROXY_TLSAUTH_PASSWORDConstant added
CURLOPT_PROXY_TLS13_CIPHERSConstant added
CURLOPT_PROXY_SSLVERSIONConstant added
CURLOPT_PROXY_SSLKEYTYPEConstant added
CURLOPT_PROXY_SSLKEYConstant added
CURLOPT_PROXY_SSLCERTTYPEConstant added
CURL_VERSION_CONVConstant added
CURL_VERSION_NTLM_WBConstant added
CURL_VERSION_MULTI_SSLConstant added
CURL_VERSION_LARGEFILEConstant added
CURL_VERSION_KERBEROS5Constant added
CURL_VERSION_IDNConstant added
CURL_VERSION_HTTPS_PROXYConstant added
CURL_VERSION_GSSNEGOTIATEConstant added
CURL_VERSION_GSSAPIConstant added
CURL_VERSION_DEBUGConstant added
CURL_VERSION_CURLDEBUGConstant added
CURL_VERSION_NTLMConstant added
CURL_VERSION_BROTLIConstant added
CURL_VERSION_ASYNCHDNSConstant added
CURL_VERSION_ALTSVCConstant added
CURL_SSLVERSION_TLSv1_3Constant added
CURL_SSLVERSION_MAX_TLSv1_3Constant added
CURL_SSLVERSION_MAX_TLSv1_2Constant added
CURL_SSLVERSION_MAX_NONEConstant added
CURL_SSLVERSION_MAX_TLSv1_1Constant added
CURLINFO_SIZE_UPLOAD_TConstant added
CURLINFO_FILETIME_TConstant added
CURLINFO_SIZE_DOWNLOAD_TConstant added
CURLINFO_SCHEMEConstant added
CURLINFO_REDIRECT_TIME_TConstant added
CURLINFO_PROXY_SSL_VERIFYRESULTConstant added
CURLINFO_PROTOCOLConstant added
CURLINFO_PRETRANSFER_TIME_TConstant added
CURLINFO_NAMELOOKUP_TIME_TConstant added
CURLINFO_HTTP_VERSIONConstant added
CURL_VERSION_PSLConstant added
CURLINFO_CONTENT_LENGTH_UPLOAD_TConstant added
CURLINFO_CONTENT_LENGTH_DOWNLOAD_TConstant added
CURLINFO_CONNECT_TIME_TConstant added
CURLINFO_APPCONNECT_TIME_TConstant added
CURLE_WEIRD_SERVER_REPLYConstant added
CURLAUTH_GSSAPIConstant added
CURLAUTH_BEARERConstant added
CURL_VERSION_UNIX_SOCKETSConstant added
CURL_VERSION_TLSAUTH_SRPConstant added
CURL_VERSION_SSPIConstant added
CURL_VERSION_SPNEGOConstant added
filter
FILTER_SANITIZE_ADD_SLASHESConstant added
json
JSON_THROW_ON_ERRORConstant added
mbstring
MB_CASE_TITLE_SIMPLEConstant added
MB_CASE_UPPER_SIMPLEConstant added
MB_CASE_LOWER_SIMPLEConstant added
MB_CASE_FOLD_SIMPLEConstant added
MB_CASE_FOLDConstant added
pcre
PCRE_JIT_SUPPORTConstant added
PCRE_VERSION_MAJORConstant added
PCRE_VERSION_MINORConstant added
pgsql
PGSQL_DIAG_CONSTRAINT_NAMEConstant added
PGSQL_DIAG_COLUMN_NAMEConstant added
PGSQL_DIAG_DATATYPE_NAMEConstant added
PGSQL_DIAG_SCHEMA_NAMEConstant added
PGSQL_DIAG_SEVERITY_NONLOCALIZEDConstant added
PGSQL_DIAG_TABLE_NAMEConstant added
standard
STREAM_CRYPTO_PROTO_TLSv1_0Constant added
PASSWORD_ARGON2IDConstant added
STREAM_CRYPTO_PROTO_SSLv3Constant added
STREAM_CRYPTO_PROTO_TLSv1_2Constant added
STREAM_CRYPTO_PROTO_TLSv1_1Constant added
Functions
Core
gc_statusFunction added
ext-gmp
gmp_perfect_powerFunction added
gmp_binomialFunction added
gmp_lcmFunction added
gmp_kroneckerFunction added
ext-intl
normalizer_get_raw_decompositionFunction added
ext-ldap
ldap_rename_extFunction added
ldap_mod_replace_extFunction added
ldap_mod_del_extFunction added
ldap_mod_add_extFunction added
LDAP_EXOP_REFRESHFunction added
ldap_delete_extFunction added
ldap_bind_extFunction added
ldap_add_extFunction added
ext-openssl
openssl_pkey_deriveFunction added
Core
array_key_lastFunction added
net_get_interfacesFunction added
hrtimeFunction added
is_countableFunction added
array_key_firstFunction added
Classes
Core
CompileErrorException class added
ext-json
JsonExceptionException class added
Removals
INI Directives
Global
opcache.inherited_hackINI directive removed
Changed
INI Directives
Global
sendmail_pathINI directive default value changed from
-t -ito/usr/sbin/sendmail -t -i
Classes
ext-fileinfo
finfoCloning class objects is no longer allowed
Constants
pcre
PCRE_VERSIONConstant value changed from
8.45 2021-06-15to10.47 2025-10-21
Deprecations
Functions
ext-gd
image2wbmpFunction deprecated
ext-mbstring
mbereg_search_posFunction deprecated
mbereg_search_getposFunction deprecated
mbereg_search_initFunction deprecated
mbereg_search_getregsFunction deprecated
mberegi_replaceFunction deprecated
mbereg_search_regsFunction deprecated
mbereg_search_setposFunction deprecated
mberegiFunction deprecated
mbsplitFunction deprecated
mbereg_searchFunction deprecated
mbereg_replaceFunction deprecated
mbereg_matchFunction deprecated
mberegFunction deprecated
mbregex_encodingFunction deprecated
Core
fgetssFunction deprecated
ext-zlib
gzgetssFunction deprecated
Improvements
Functions
ext-ldap
ldap_mod_add- Optional parameter added - #4:
$servercontrols
ldap_mod_add( $link_identifier, $dn, - $entry + $entry, + $servercontrols )ldap_search- Optional parameter added - #9:
$servercontrols
ldap_search( $link_identifier, $base_dn, $filter, $attributes, $attrsonly, $sizelimit, $timelimit, - $deref + $deref, + $servercontrols )ldap_rename- Optional parameter added - #6:
$servercontrols
ldap_rename( $link_identifier, $dn, $newrdn, $newparent, - $deleteoldrdn + $deleteoldrdn, + $servercontrols )ldap_read- Optional parameter added - #9:
$servercontrols
ldap_read( $link_identifier, $base_dn, $filter, $attributes, $attrsonly, $sizelimit, $timelimit, - $deref + $deref, + $servercontrols )ldap_parse_result- Optional parameter added - #7:
&$serverctrls
ldap_parse_result( $link, $result, &$errcode, &$matcheddn, &$errmsg, - &$referrals + &$referrals, + &$serverctrls )ldap_modify_batch- Optional parameter added - #4:
$servercontrols
ldap_modify_batch( $link_identifier, $dn, - array $modifications_info + array $modifications_info, + $servercontrols )ldap_modify- Optional parameter added - #4:
$servercontrols
ldap_modify( $link_identifier, $dn, - $entry + $entry, + $servercontrols )ldap_mod_replace- Optional parameter added - #4:
$servercontrols
ldap_mod_replace( $link_identifier, $dn, - $entry + $entry, + $servercontrols )ldap_mod_del- Optional parameter added - #4:
$servercontrols
ldap_mod_del( $link_identifier, $dn, - $entry + $entry, + $servercontrols )ldap_list- Optional parameter added - #9:
$servercontrols
ldap_list( $link_identifier, $base_dn, $filter, $attributes, $attrsonly, $sizelimit, $timelimit, - $deref + $deref, + $servercontrols )ldap_exop_passwd- Optional parameter added - #5:
&$serverctrls
ldap_exop_passwd( $link, $user, $oldpw, - $newpw + $newpw, + &$serverctrls )ldap_delete- Optional parameter added - #3:
$servercontrols
-ldap_delete($link_identifier, $dn) +ldap_delete( + $link_identifier, + $dn, + $servercontrols + )ldap_compare- Optional parameter added - #5:
$servercontrols
ldap_compare( $link_identifier, $dn, $attribute, - $value + $value, + $servercontrols )ldap_add- Optional parameter added - #4:
$servercontrols
ldap_add( $link_identifier, $dn, - $entry + $entry, + $servercontrols )ext-session
session_set_cookie_paramsParameter name of parameter #1 changed:
$lifetimeto$lifetime_or_optionssession_set_cookie_params( - $lifetime, + $lifetime_or_options, $path, $domain, $secure, $httponly )
Core
setcookieParameter name of parameter #3 changed:
$expiresto$expires_or_optionssetcookie( $name, $value, - $expires, + $expires_or_options, $path, $domain, $secure, $httponly )setrawcookieParameter name of parameter #3 changed:
$expiresto$expires_or_optionssetrawcookie( $name, $value, - $expires, + $expires_or_options, $path, $domain, $secure, $httponly )
ext-tidy
tidy_warning_countAdded new required parameter:
$object- tidy_warning_count() + tidy_warning_count($object)tidy_access_countAdded new required parameter:
$object- tidy_access_count() + tidy_access_count($object)tidy_clean_repairAdded new required parameter:
$object- tidy_clean_repair() + tidy_clean_repair($object)tidy_config_countAdded new required parameter:
$object- tidy_config_count() + tidy_config_count($object)tidy_diagnoseAdded new required parameter:
$object- tidy_diagnose() + tidy_diagnose($object)tidy_error_countAdded new required parameter:
$object- tidy_error_count() + tidy_error_count($object)tidy_get_configAdded new required parameter:
$object- tidy_get_config() + tidy_get_config($object)tidy_get_error_bufferAdded new required parameter:
$object- tidy_get_error_buffer() + tidy_get_error_buffer($object)tidy_get_html_verAdded new required parameter:
$object- tidy_get_html_ver() + tidy_get_html_ver($object)tidy_get_outputAdded new required parameter:
$object- tidy_get_output() + tidy_get_output($object)tidy_get_statusAdded new required parameter:
$object- tidy_get_status() + tidy_get_status($object)tidy_is_xhtmlAdded new required parameter:
$object- tidy_is_xhtml() + tidy_is_xhtml($object)tidy_is_xmlAdded new required parameter:
$object- tidy_is_xml() + tidy_is_xml($object)
Subscribe to PHP.Watch newsletter for monthly updatesYou will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.
- Optional parameter added - #4: