What functions in PHP are not unified due to historical reasons

Source: Internet
Author: User
I know Python3 is incompatible python2 part of the reason is because of historical reasons, 3 want to solve historical reasons.

So what are the usual functions in PHP, and what are the reasons for the fact that the naming rules and parameters are not uniform with the later functions?

Reply content:

I know Python3 is incompatible python2 part of the reason is because of historical reasons, 3 want to solve historical reasons.

So what are the usual functions in PHP, and what are the reasons for the fact that the naming rules and parameters are not uniform with the later functions?

PHP does not have the historical baggage of Python's massive innovation, which is almost completely backwards compatible, because PHP itself is not a generic language.

There are some functions in PHP that have really revolutionized the algorithm, but the old function is generally preserved, and the new function adds a name to the front or back.

PHP's "non-backwards compatible modifications" are rare, although there are some, but most do not affect the use.

If you want to know, please see:

    • 4 to 5:http://php.net/manual/en/migration5.incompatible.php
    • 5.1 to 5.2:http://php.net/manual/en/migration52.incompatible.php
    • 5.2 To 5.3:http://php.net/manual/en/migration53.incompatible.php
    • 5.3 to 5.4:http://php.net/manual/en/migration54.incompatible.php
    • 5.4 to 5.5:http://php.net/manual/en/migration55.incompatible.php
    • 5.5 to 5.6:http://php.net/manual/en/migration56.incompatible.php
  • 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.