mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
16 lines
337 B
PHP
16 lines
337 B
PHP
--TEST--
|
|
Bug #71020 (Use after free in Collator::sortWithSortKeys)
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$var_3=new Collator("Whatever");
|
|
for($x=0;$x<0xbb;$x++)
|
|
$myarray[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9) . strval($x);
|
|
$var_3->sortWithSortKeys($myarray);
|
|
?>
|
|
okey
|
|
--EXPECT--
|
|
okey
|