$str = ''echo "blah" | sudo -u rene -S /bin/sh -c "export HOME=/home/rene/ && export"''; exec($str,$o,$r); $r === 0. $o = <pre class='xdebug-var-dump' dir='ltr'> <b>array</b> 0 => 'export HOME='/home/rene/'' .....more..... </pre>
$str = ''echo "blah" | sudo -u rene -S /bin/sh -c "export HOME=/home/rene/ && export"''; exec($str,$o,$r); $r === 0. $o = <pre class='xdebug-var-dump' dir='ltr'> <b>array</b> 0 => 'export HOME='/home/rene/'' .....more..... </pre>