note 23045 added to function.exec
| From: | kop at meme dot com | Date: | Mon, 08 Jul 2002 06:19:18 +0000 |
| Subject: | note 23045 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32722@lists.php.net to get a copy of this message | ||
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).
--
http://www.php.net/manual/en/function.exec.php
http://master.php.net/manage/user-notes.php?action=edit+23045
http://master.php.net/manage/user-notes.php?action=delete+23045
http://master.php.net/manage/user-notes.php?action=reject+23045