[php-src] PR #20160: phar: Change hacky check into an exception

From: Date: Mon, 13 Oct 2025 19:15:53 +0000
Subject: [php-src] PR #20160: phar: Change hacky check into an exception
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-33630@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20160 Author: nielsdos phar_metadata_tracker_unserialize_or_copy() is only ever preceded by phar_metadata_tracker_has_data() which won't throw. This check is quite hacky and it should always be the responsibility of the caller to avoid calling this, even the comment acknowledges this is a hack.

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