Which functions in php are inconsistent due to historical reasons?

Source: Internet
Author: User
I know that python3 is not compatible with python2. It is partly because of historical reasons. Which of the following functions are commonly used in php? What are the reasons for the inconsistency between naming rules and parameter applicability and subsequent functions? I know that python3 is not compatible with python2. It is partly because of historical reasons.

Which of the following functions are commonly used in php? What are the reasons for the inconsistency between naming rules and parameter applicability and subsequent functions?

Reply content:

I know that python3 is not compatible with python2. It is partly because of historical reasons.

Which of the following functions are commonly used in php? What are the reasons for the inconsistency between naming rules and parameter applicability and subsequent functions?

PHP is almost completely backward compatible without the historical burdens of large-scale Python innovation, because PHP itself is not a universal language.

Some functions in PHP have indeed innovated algorithms, but old functions are generally retained. The new function adds a person's name to the front or back.

There are very few "incompatible changes" in PHP, although there are some, but most of them will not affect the use.

If you need to know, please refer:

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