exec
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Execute an external program
exec
(
string $command
, array &
$output
=
null
,
int
&
$result_code
=
null
):
string
|
false
$mode
=
$this
->
isDirectory
(
$target
) ?
'J'
:
'H'
;
exec
(
"mklink /
{
$mode
}
"
.
escapeshellarg
(
$link
).
' '
.
escapeshellarg
(
$target
));
}
src/Illuminate/Filesystem/Filesystem.php