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 #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault) --..
Decoded Output download
--TEST--
Bug #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault)
--FILE--
<?php
set_error_handler(function($no, $err) { var_dump($err); });
function x($s) { $s['2a'] = 1; };
$y = '1';
x($y);
print_r($y);
?>
--EXPECT--
string(26) "Illegal string offset "2a""
1
Did this file decode correctly?
Original Code
--TEST--
Bug #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault)
--FILE--
<?php
set_error_handler(function($no, $err) { var_dump($err); });
function x($s) { $s['2a'] = 1; };
$y = '1';
x($y);
print_r($y);
?>
--EXPECT--
string(26) "Illegal string offset "2a""
1
Function Calls
None |
Stats
MD5 | 7be516ba00ff10c744ba354bc9564986 |
Eval Count | 0 |
Decode Time | 95 ms |