There are still changes in regards to parsing of Unicode encoded scripts to come.
…emory). There are two problems with mmap() in this case: 1) there is no performance gain since we allocate the memory anyways; 2) memcpy() may crash if somebody truncates this file at the same moment (see http://dev.daylessday.org/diff/mmap.phps for example); It seems to work fine with fpassthru(), though why it is so should be investigated. Thanks to Andrey Vasilishin for the report and Anight for pressing this through =)
conversion is now split into 3 separate methods 1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusively change file format 2\) compress\(\) sets compression, accepting Phar::GZ, Phar::BZ2, or Phar::NONE 3\) convertToExecutable\(\) allows stub creation in tar/zip, convertToData\(\) prevents it all methods return either Phar or PharData objects, allowing fluent interface. only 1 test has been converted to the new format, but the API works
this is useful for renaming and also always returns the realpath()
# this is the last bug for ZF app - it now works!