The $cmd variable is used to indicate what function to start
execution at. If the variable $cmd is set, that function
is the start function instead of the default main. A function
extension given in the URL, however, overrides this (see
here).