It's actually quite simple: 'options' are command line options that you can supply, I don't know PHP but for Ruby it might be `-p` for example. Header and Footer are just glued to the code by newlines.
interpreter options input.tio arguments
Where input.tio is the file containing the code.