xref: /PHP-7.4/ext/intl/tests/bug62083.phpt (revision 1eff3b01)
1--TEST--
2Bug #62083: grapheme_extract() leaks memory
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7--FILE--
8<?php
9$arr1 = array();
10var_dump(grapheme_extract(-1, -1, -1,-1, $arr1));
11--EXPECT--
12bool(false)
13