[php-src] Issue #11201: sscanf function bug

From: Date: Sun, 07 May 2023 09:32:57 +0000
Subject: [php-src] Issue #11201: sscanf function bug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244393@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11201 Author: jxwdsb ### Description The following code: ```php <?php $str = "aaa\bbb\ccccDddd"; sscanf($str,"aaa\bbb\%sDddd",$str_1); echo $str_1; exit(); ``` Resulted in this output: ``` ccccDddd ``` But I expected this output instead: ``` cccc ``` ### PHP Version PHP 8.2.5 (cli) (built: Apr 14 2023 04:39:46) (NTS) ### Operating System debian 11.7

« previous php.bugs (#244393) next »