[php-src] PR #20675: Performance: Empty string early return for strip_tags

From: Date: Tue, 09 Dec 2025 17:46:11 +0000
Subject: [php-src] PR #20675: Performance: Empty string early return for strip_tags
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34246@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20675 Author: SirLouen We were commenting in the WordPress repository about a strange condition: when running an empty string check vs. an empty string with strip_tags the underperforming difference was significant, so I decided to take a look into the code to find that there was no early return for this condition. So I believe this could be a nice little upgrade to the function.

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