I tried to run a script with parameters but $argc and $argv only contain the name of the script.
<Project Sdk="Devsense.Php.Sdk">
<PropertyGroup>
<!-- "StartupFile" needs to be set in order to recognize this project as a Console Project -->
<StartupFile>index.php</StartupFile>
<CommandLineArguments>test</CommandLineArguments>
<RootNamespace>SimpleScript</RootNamespace>
<WebRoot />
<RuntimeVersion>8.0</RuntimeVersion>
<SaveServerSettingsInUserFile>false</SaveServerSettingsInUserFile>
<EnvName>CLI</EnvName>
<WorkingDirectory />
<InterpreterArguments />
</PropertyGroup>
</Project>
