<?php $string = 'command run --first-arg="something here" --second-arg="something here" --last-arg';
Standard input is empty
Array ( [0] => command [1] => run [2] => --first-arg="something here" [3] => --second-arg="something here" [4] => --last-arg )