This function returns a list of recommended PHP versions.
uapi --output=jsonpretty \ --user=username \ EA4 \ get_php_recommendations
{- "apiversion": 3,
- "func": "get_php_recommendations",
- "module": "EA4",
- "result": {
- "data": [
- "php80"
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}