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 #51552 (debug_backtrace() causes segmentation fault and/or memory issues) --F..

Decoded Output download

--TEST--
Bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
--FILE--
<?php
function walk($element, $key, $p) {
    $backtrace = debug_backtrace();
    echo "$element
";
}

$a = array(1,2,3,4,5,6,7,8,9,10);
array_walk($a, 'walk', 'testthis');
?>
--EXPECT--
1
2
3
4
5
6
7
8
9
10

Did this file decode correctly?

Original Code

--TEST--
Bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
--FILE--
<?php
function walk($element, $key, $p) {
    $backtrace = debug_backtrace();
    echo "$element\n";
}

$a = array(1,2,3,4,5,6,7,8,9,10);
array_walk($a, 'walk', 'testthis');
?>
--EXPECT--
1
2
3
4
5
6
7
8
9
10

Function Calls

array_walk 1

Variables

$a [{'key': 0, 'value': 1}, {'key': 1, 'value': 2}, {'key': 2, 'value': 3}, {'key': 3, 'value': 4}, {'key': 4, 'value': 5}, {'key': 5, 'value': 6}, {'key': 6, 'value': 7}, {'key': 7, 'value': 8}, {'key': 8, 'value': 9}, {'key': 9, 'value': 10}]

Stats

MD5 da5be4b1b1c7a7d290bbbd1dda69f23a
Eval Count 0
Decode Time 98 ms