xref: /PHP-5.5/ext/intl/tests/bug62082.phpt (revision 8e9777a1)
1--TEST--
2Bug #62082: Memory corruption in internal get_icu_disp_value_src_php()
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7--FILE--
8<?php
9var_dump(locale_get_display_name(str_repeat("a", 300), null));
10var_dump(locale_get_display_name(str_repeat("a", 512), null));
11var_dump(locale_get_display_name(str_repeat("a", 600), null));
12--EXPECT--
13bool(false)
14bool(false)
15bool(false)
16
17