note 56484 deleted from function.mcrypt-create-iv by cmb
| From: | cmb@php.net | Date: | Mon, 27 Jul 2015 17:08:11 +0000 |
| Subject: | note 56484 deleted from function.mcrypt-create-iv by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203197@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Correction to the last comment, the second parameter of rtrim() uses double quotes, not single
quotes.
So the corrected code is as follows:
$retval = rtrim($retval, "\0"); // trim ONLY the nulls at the END
;)