If part doesn’t even have a ternary operation condition nor even : what kind of coding practice is this? I have seen this first time. Is there any nomenclature for such usage in PHP?
It’s your code, you tell me
Presumably $args comes in as an array of strings, rather than int.
Usually, this sort of thing can be ignored, as PHP does implicit conversions to int when it needs to do math on a string, but some people will say that you should explicitly convert and store as an int. shrug