Need example to get command line parameter in PHP

Please provide an example on how to read the text passed on the command line to the compiled .exe in a PHP script. T


I am referring to:

 compiled_phpapp.exe  "some parameter text here"

looking for example … in the context of an executable complied by exeoutput


The link by Gilmichel is available for CLI programs made with ExeOutput.
For GUI apps, see this explanation:

That works for me … thanks