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 #67314 (Segmentation fault in gc_remove_zval_from_buffer) --FILE-- <?php func..

Decoded Output download

--TEST--
Bug #67314 (Segmentation fault in gc_remove_zval_from_buffer)
--FILE--
<?php
function crash()
{
    $notDefined[$i] = 'test';
}

function error_handler() { return false; }

set_error_handler('error_handler');
crash();
echo "made it once
";
crash();
echo "ok
";
?>
--EXPECTF--
Warning: Undefined variable $i in %s on line %d
made it once

Warning: Undefined variable $i in %s on line %d
ok

Did this file decode correctly?

Original Code

--TEST--
Bug #67314 (Segmentation fault in gc_remove_zval_from_buffer)
--FILE--
<?php
function crash()
{
    $notDefined[$i] = 'test';
}

function error_handler() { return false; }

set_error_handler('error_handler');
crash();
echo "made it once\n";
crash();
echo "ok\n";
?>
--EXPECTF--
Warning: Undefined variable $i in %s on line %d
made it once

Warning: Undefined variable $i in %s on line %d
ok

Function Calls

set_error_handler 1

Variables

None

Stats

MD5 f9bef697daac2a5f8cd5905507bf71bb
Eval Count 0
Decode Time 91 ms