[php-src] Issue #11977: bug or feature?

From: Date: Tue, 15 Aug 2023 04:42:10 +0000
Subject: [php-src] Issue #11977: bug or feature?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245187@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11977 Author: ValenokPC ### Description The following code: ```php echo rtrim('/var/www/domain.local/folder', '/folder/'); <?php ``` Resulted in this output: ``` /var/www/domain.loca ``` But I expected this output instead: ``` Is that how it should be? ![image](https://github.com/instantsoft/icms2/assets/16735162/98ea4a8e-1025-40af-9296-3cbe3e18f897) ``` ### PHP Version 8.1.22, 8.0.30, 7.4.33 ### Operating System _No response_

« previous php.bugs (#245187) next »