[php-src] PR #22237: ext/zip: Make ZipArchive non-serializable

From: Date: Fri, 05 Jun 2026 19:24:04 +0000
Subject: [php-src] PR #22237: ext/zip: Make ZipArchive non-serializable
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36313@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22237 Author: k2gl A ZipArchive wraps a libzip resource that cannot survive serialization, so unserialize() silently produced a broken object (numFiles = 0) instead of erroring. This marks the class as not-serializable, consistent with Socket, CurlHandle and the Dba classes. Fixes GH-21682

« previous php.git-pulls (#36313) next »