php shell_exec() vs exec() With exec(), you can pass an optional param variable which will receive an array of output lines.
and system() returning only partial output
1 Article
1
php shell_exec() vs exec() With exec(), you can pass an optional param variable which will receive an array of output lines.