mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
17 lines
426 B
PHP
17 lines
426 B
PHP
--TEST--
|
|
Bug #62082: Memory corruption in internal get_icu_disp_value_src_php()
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('intl'))
|
|
die('skip intl extension not enabled');
|
|
--FILE--
|
|
<?php
|
|
var_dump(locale_get_display_name(str_repeat("a", 300), null));
|
|
var_dump(locale_get_display_name(str_repeat("a", 512), null));
|
|
var_dump(locale_get_display_name(str_repeat("a", 600), null));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
bool(false)
|
|
bool(false)
|