I just use the document example code to test.
<?php
echo '<pre>';
$last_line = system('ls', $retval);
echo '
</pre>
<hr />Last line of the output: ' . $last_line . '
<hr />Return value: ' . $retval;
?>
But on the result is this
And I remove the system in disable_function of php.ini. But it is still no use.