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 #30074 (EG(uninitialized_zval_ptr) gets set to reference using EXTR_REFS, aff..
Decoded Output download
--TEST--
Bug #30074 (EG(uninitialized_zval_ptr) gets set to reference using EXTR_REFS, affecting later values)
--FILE--
<?php
$result = extract(array('a'=>$undefined), EXTR_REFS);
var_dump(array($a));
echo "Done
";
?>
--EXPECTF--
Warning: Undefined variable $undefined in %s on line %d
array(1) {
[0]=>
NULL
}
Done
Did this file decode correctly?
Original Code
--TEST--
Bug #30074 (EG(uninitialized_zval_ptr) gets set to reference using EXTR_REFS, affecting later values)
--FILE--
<?php
$result = extract(array('a'=>$undefined), EXTR_REFS);
var_dump(array($a));
echo "Done\n";
?>
--EXPECTF--
Warning: Undefined variable $undefined in %s on line %d
array(1) {
[0]=>
NULL
}
Done
Function Calls
None |
Stats
MD5 | 4113f422fac12670a1718c937835dba3 |
Eval Count | 0 |
Decode Time | 98 ms |