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