Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #62083: grapheme_extract() leaks memory --EXTENSIONS-- intl --FILE-- <?php $a..
Decoded Output download
--TEST--
Bug #62083: grapheme_extract() leaks memory
--EXTENSIONS--
intl
--FILE--
<?php
$arr1 = array();
try {
grapheme_extract(-1, -1, -1,-1, $arr1);
} catch (ValueError $exception) {
echo $exception->getMessage() . "
";
}
?>
--EXPECT--
grapheme_extract(): Argument #3 ($type) must be one of GRAPHEME_EXTR_COUNT, GRAPHEME_EXTR_MAXBYTES, or GRAPHEME_EXTR_MAXCHARS
Did this file decode correctly?
Original Code
--TEST--
Bug #62083: grapheme_extract() leaks memory
--EXTENSIONS--
intl
--FILE--
<?php
$arr1 = array();
try {
grapheme_extract(-1, -1, -1,-1, $arr1);
} catch (ValueError $exception) {
echo $exception->getMessage() . "\n";
}
?>
--EXPECT--
grapheme_extract(): Argument #3 ($type) must be one of GRAPHEME_EXTR_COUNT, GRAPHEME_EXTR_MAXBYTES, or GRAPHEME_EXTR_MAXCHARS
Function Calls
None |
Stats
MD5 | 818532a5dea39afd428ae24c77e24e61 |
Eval Count | 0 |
Decode Time | 89 ms |