|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-06-30 17:16 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2018-06-30 21:24 UTC] cmb@php.net
[2018-06-30 21:24 UTC] cmb@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
Description: ------------ The get_debug_info handler for BreakIterator shows the text as type instead of the proper type, and leaks memory. Test script: --------------- <?php $it = IntlBreakIterator::createCharacterInstance(); $it->setText('foo'); var_dump($it); Expected result: ---------------- object(IntlRuleBasedBreakIterator)#1 (3) { ["valid"]=> bool(true) ["text"]=> string(3) "foo" ["type"]=> string(33) "N6icu_5722RuleBasedBreakIteratorE" } Actual result: -------------- object(IntlRuleBasedBreakIterator)#1 (3) { ["valid"]=> bool(true) ["text"]=> string(3) "foo" ["type"]=> string(3) "foo" } [Sat Jun 30 17:06:19 2018] Script: '…' /parent/php-src/Zend/zend_string.h(122) : Freeing 0x00007f04f4259300 (64 bytes), script=… === Total 1 memory leaks detected ===