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 #73532 (Null pointer dereference in mb_eregi) --EXTENSIONS-- mbstring --SKIPI..

Decoded Output download

--TEST--
Bug #73532 (Null pointer dereference in mb_eregi)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (!function_exists('mb_ereg')) die('skip mbregex support not available');
?>
--FILE--
<?php
var_dump(mb_eregi("a", ""));
?>
--EXPECT--
bool(false)

Did this file decode correctly?

Original Code

--TEST--
Bug #73532 (Null pointer dereference in mb_eregi)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (!function_exists('mb_ereg')) die('skip mbregex support not available');
?>
--FILE--
<?php
var_dump(mb_eregi("a", "\xf5"));
?>
--EXPECT--
bool(false)

Function Calls

mb_eregi 1
function_exists 1

Variables

None

Stats

MD5 d9c4d6cf2f8b8d28716beb2ebf2668f7
Eval Count 0
Decode Time 99 ms