Bug #79874 [NEW]: procedural API of ext/zip depercated without replacement

From: Date: Sat, 18 Jul 2020 16:40:33 +0000
Subject: Bug #79874 [NEW]: procedural API of ext/zip depercated without replacement
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228112@lists.php.net to get a copy of this message
From: bugreports2 at gmail dot com Operating system: PHP version: 8.0Git-2020-07-18 (Git) Package: *General Issues Bug Type: Bug Bug description:procedural API of ext/zip depercated without replacement Description: ------------ http://git.php.net/?p=php-src.git;a=commitdiff;h=f3b1f342c887073012f4ca7c1bc1b5259ce4cedc that's cool, but how do you expect switching to the object style when these is no ZipArchive::read(), ZipArchive::entry_name, ZipArchive::entry_filesize(), ZipArchive::entry_read() ZipArchive::extractTo() is *no* replacement when you iterate and decide which files are supposed to be extracted, you need to reqrite the whole code and logic to delete stuff after extract look at mysqli - there is everything and more in the object API and so it *can* be a dropin replacement without changing the whole program logic - and no please don#t be tempted to deprecate tthe old APi there too just because you can -- Edit bug report at https://bugs.php.net/bug.php?id=79874&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79874&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79874&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79874&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79874&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79874&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79874&r=support Expected behavior: https://bugs.php.net/fix.php?id=79874&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79874&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79874&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79874&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79874&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79874&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79874&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79874&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79874&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79874&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79874&r=mysqlcfg

« previous php.bugs (#228112) next »