The function and substitution method of php5.3x being discarded

Source: Internet
Author: User

It's sunny and cloudless today, just remember. Some functions and substitution methods of php5.3x being discarded

Some of the deprecated functions are listed below:
Call_user_method (): (use Call_user_func () instead)
Call_user_method_array (): (use Call_user_func_array () instead)
Define_syslog_variables ()
DL ()
ereg () Replace with Preg_match ()
ereg_replace () Replace with preg_replace ()
eregi () Replace with Preg_match () with ' i ' modifier
eregi_replace () Replace with preg_replace () with ' i ' modifier
Set_magic_quotes_runtime () and its alias function magic_quotes_runtime ()
Session_register () Replace with $_session all variables
Session_unregister () Replace with $_session all variables
Session_is_registered () Replace with $_session all variables
Set_socket_blocking () Replace with stream_set_blocking ()
split () Replace with Preg_split ( )
Spliti () Replace with Preg_split () with ' i ' modifier)
Sql_regcase ()
Mysql_db_query () Replace with mysql_select_db () and mysql_query ()
Mysql_escape_string () Replace with mysql_real_escape_string ()
obsolete. Passing a locale name with a string using the Lc_* series constant override
The IS_DST parameter of Mktime () replaces with the new time zone handler function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.