I found this line in a project:
exec('php '.$myPath."/somefile.php bah blha blha --myparam=$param > /dev/null 2>&1 < /dev/null &";)
What does this line mean?
I know that it runs a somefile.php
with parameter myparam
, but that are these parts: /dev/null 2>&1 < /dev/null &
, bah blha blha
?