Function __global->get_version_branch
Definitions
sources/version2.php
- Get branch version number for a software version.This is not used for much, it's a very special case.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $general | ?float | No | No | Null | N/A | N/A | General version number (null: on disk version) |
Returns
- Branch version number
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get branch version number for a software version.This is not used for much, it's a very special case.
*
* @param ?float $general General version number (null: on disk version)
* @return string Branch version number
*/
function get_version_branch(?float $general = null) : string
* Get branch version number for a software version.This is not used for much, it's a very special case.
*
* @param ?float $general General version number (null: on disk version)
* @return string Branch version number
*/
function get_version_branch(?float $general = null) : string
