50 preg_match_all(
'/"((?:\\\\.|[^\\\\"])*)"|(\S+)/u', $commandLine, $matches);
51 foreach($matches[0] as $k => $_){
52 for($i = 1; $i <= 2; ++$i){
53 if($matches[$i][$k] !==
""){
55 $match = $matches[$i][$k];
56 $args[(int) $k] = preg_replace(
'/\\\\([\\\\"])/u',
'$1', $match) ??
throw new AssumptionFailedError(preg_last_error_msg());