mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
13 lines
278 B
PHP
13 lines
278 B
PHP
--TEST--
|
|
Bug #79371 (mb_strtolower (UTF-32LE): stack-buffer-overflow)
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
$bytes = array(0xef, 0xbf, 0xbd, 0xef);
|
|
$str = implode(array_map("chr", $bytes));
|
|
var_dump(bin2hex(mb_strtolower($str, "UTF-32LE")));
|
|
?>
|
|
--EXPECT--
|
|
string(8) "3f000000"
|