[php-src] PR #16407: Unify error handling of bad dictionary elements

From: Date: Sun, 13 Oct 2024 10:52:20 +0000
Subject: [php-src] PR #16407: Unify error handling of bad dictionary elements
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29202@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16407 Author: cmb69 As is, we have separate error handling and reporting for empty strings and strings containing NUL bytes. For simpler error handling we merge both cases; while that is slightly worse regarding the error reporting, it shouldn't matter in practice, since users need to check the validity of the dictionary upfront anyway. --- This is a follow-up to PR #16335, where @TimWolla and @Girgias made suggestions for further improvements. This is the "best" I could come up with.

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