[php-src] Issue #14940: strtr doesn't strip the pipe character (PHP 8.2.20)

From: Date: Fri, 12 Jul 2024 22:35:23 +0000
Subject: [php-src] Issue #14940: strtr doesn't strip the pipe character (PHP 8.2.20)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247287@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/14940 Author: Aera23 ### Description The following code: ```php <?php echo strtr("There should be no pipe character here: |","|",""); ?> ``` Resulted in this output: ``` There should be no pipe character here: | ``` But I expected this output instead: ``` There should be no pipe character here: ``` ### PHP Version PHP 8.2.20 ### Operating System PeppermintOS

« previous php.bugs (#247287) next »