1--TEST-- 2IntlIterator cycle management 3--EXTENSIONS-- 4intl 5--FILE-- 6<?php 7function break_cycle_test() { 8 $obj = IntlCalendar::getKeywordValuesForLocale('calendar', 'fa_IR', true); 9 unset($obj); 10 var_dump(gc_collect_cycles()); 11} 12break_cycle_test(); 13break_cycle_test(); 14break_cycle_test(); 15?> 16--EXPECT-- 17int(1) 18int(1) 19int(1) 20