philip Sun Jan 19 01:46:44 2003 EDT Modified files: /phpdoc/en/reference/exec/functions exec.xml Log: Line endings are not preserved. Closes bug #20905 Index: phpdoc/en/reference/exec/functions/exec.xml diff -u phpdoc/en/reference/exec/functions/exec.xml:1.3 phpdoc/en/reference/exec/functions/exec.xml:1.4 --- phpdoc/en/reference/exec/functions/exec.xml:1.3 Sat May 25 08:59:29 2002 +++ phpdoc/en/reference/exec/functions/exec.xml Sun Jan 19 01:46:44 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/exec.xml, last change in rev 1.2 --> <refentry id="function.exec"> <refnamediv> @@ -26,8 +26,9 @@ <para> If the <parameter>array</parameter> argument is present, then the specified array will be filled with every line of output from the - command. Note that if the array already contains some elements, - <function>exec</function> will append to the end of the array. + command. Line endings, such as <literal>\n</literal>, are not + included in this array. Note that if the array already contains some + elements, <function>exec</function> will append to the end of the array. If you do not want the function to append elements, call <function>unset</function> on the array before passing it to <function>exec</function>.
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php