note 23045 deleted from function.exec by danbrown
| From: | danbrown@php.net | Date: | Sun, 04 Jan 2009 16:37:36 +0000 |
| Subject: | note 23045 deleted from function.exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148821@lists.php.net to get a copy of this message | ||
Note Submitter: kop at meme dot com
----
Nowhere is it mentioned that exec() strips off the end-of-line character(s) from the command's
output. This is true both in the return value and in the values assigned to the array in the second
argument.
This makes it impossible to tell if the command output ends in a end-of-line character(s).