[php-src] PR #18999: Zend: Use `zend_bad_method_call()` when cloning from the wrong scope

From: Date: Tue, 01 Jul 2025 14:17:36 +0000
Subject: [php-src] PR #18999: Zend: Use `zend_bad_method_call()` when cloning from the wrong scope
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-32270@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18999 Author: TimWolla Extracted out of #18995. This reduces some of the repetition and implicitly unifies phrasing of the error messages.

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