PHP function documentation writing specifications require that the version description follows the format of v
In the PHP function documentation writing specification, the description of the function version has the following requirements:
Format:
1 |
|
Major version number:
Represents major incompatible changes to the function.
Minor version number:
represents minor changes to the function, such as the addition of new features.
Release version number:
represents maintenance updates of functions, such as bug fixes.
Example:
1 |
|
Actual case:
The following is a sample function document that contains a version description:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
In the example above, the sum
function is currently in version v8.1.0
.
The above is the detailed content of What are the requirements for describing function versions in the PHP function documentation specification?. For more information, please follow other related articles on the PHP Chinese website!