note 12895 deleted from function.curl-setopt by daverandom
| From: | daverandom@php.net | Date: | Mon, 13 Jan 2014 10:45:29 +0000 |
| Subject: | note 12895 deleted from function.curl-setopt by daverandom | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-198223@lists.php.net to get a copy of this message | ||
Note Submitter: sr2899.at.hotmail.com
----
CURLOPT_RETURNTRANSFER has the interesting behaviour of tacking a null char onto the end of the
string. This null char is actually on the end of the php string, and can cause some odd results if
you're not expecting it to be there.