[php-src] PR #23775: CI: fix ext/zend_test/tests/zend_mm_custom_handlers_alloc_01.phpt
| From: | LamentXU123 | Date: | Sat, 19 Sep 2026 17:24:18 +0000 |
| Subject: | [php-src] PR #23775: CI: fix ext/zend_test/tests/zend_mm_custom_handlers_alloc_01.phpt | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38594@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23775
Author: LamentXU123
After 93fd714daa6, we just return the copy of the string when the
mult parameter of
str_repeat is 1, that is to repeat the string 1 time. But this cause inconsistency in this test.
When the rand number is 1, it won't allocate any byte. So the test will fail.