PHP – passthru with output buffering
將 passthru 輸出內容存在變數中:
1 2 3 |
ob_start(); passthru('php artisan', $return); $return = ob_get_clean(); |
將 passthru 輸出內容存在變數中:
1 2 3 |
ob_start(); passthru('php artisan', $return); $return = ob_get_clean(); |