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