ZP-796 Reimplement/simplify StringStreamWrapper.
Released under the Affero GNU General Public License (AGPL) version 3. Current implementation only works without filters, ie if you only use it to store and retrieve string (see https://3v4l.org/Du2cF or http://pastebin.com/NrK2efzv) It can be replaced by "php://memory", available since php 5.1 (i'm pretty sure this code is way older than php 5.1) This remove utf8 ftruncate support (68d180a5) but ftruncate isn't used on StringStreamWrapper, and utf8 support must be in the code handling the stream so we can use any type of stream
Showing
Please register or sign in to comment