xref: /PHP-8.0/ext/intl/tests/bug75193.phpt (revision a555cc0b)
1--TEST--
2Bug #75193 segfault in collator_convert_object_to_string
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7$a = new \Collator('en_US');
8$b = [new stdclass, new stdclass];
9var_dump($a->sort($b));
10?>
11--EXPECT--
12bool(true)
13