note 68881 added to function.chunk-split

From: Date: Mon, 14 Aug 2006 19:32:05 +0000
Subject: note 68881 added to function.chunk-split
Groups: php.notes 
Request: Send a blank email to php-notes+get-115901@lists.php.net to get a copy of this message
I'm not sure what versions this also occurs in but the output of chunk_split() in PHP 5.0.4 does not match the output in other versions of PHP. In all versions of PHP I have used, apart from 5.0.4 chunk_split() adds the separator (\r\n) to the end of the string. But in PHP 5.0.4 this does not happen. This had a fairly serious impact on a library I maintain so it may also affect others who are not aware of this. ---- Server IP: 85.116.0.130 Probable Submitter: 82.11.130.96 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.chunk-split.php Edit -- https://master.php.net/note/edit/68881 Del: integrated -- https://master.php.net/note/delete/68881/integrated Del: useless -- https://master.php.net/note/delete/68881/useless Del: bad code -- https://master.php.net/note/delete/68881/bad+code Del: spam -- https://master.php.net/note/delete/68881/spam Del: non-english -- https://master.php.net/note/delete/68881/non-english Del: in docs -- https://master.php.net/note/delete/68881/in+docs Del: other reasons-- https://master.php.net/note/delete/68881 Reject -- https://master.php.net/note/reject/68881 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115901) next »