Questions about compatibility with PHP 5.4 and PHP 5.2

Source: Internet
Author: User
Compatibility issues with PHP 5.4 and PHP 5.2
We have now bought a new server, with Windows Server R2
Configuring the Environment for PHP 5.4

We developed the use of the 2003,php is 5.2 version, the porting to the new server, the program will affect the operation?

Or do I have to pay attention to those problems?

Share to:


------Solution--------------------
will have some impact

such as $names=split (".", $name); At 5.3 and above must be written as $names=split ("\.", $name);(If you remember it correctly)

Our current project is due to the problem of upgrading from 5.2 to 5.3, which causes some functions to fail.

There are many more, especially those that are no longer used from 5.3, and if they are useful in previous projects, they will fail or error.

Like these errors even if the row-by-line troubleshooting is very difficult, if you have the conditions can be tested in the test environment before upgrading PHP
------Solution--------------------
will be affected, it is recommended to refer to the php5.4 Manual for re-maintenance of the program. Some functions are not recommended in 5.4, and 5.4 code specifications are more stringent

  • 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.