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 #46873 (extract($foo) crashes if $foo['foo'] exists) --FILE-- <?php $foo = ar..

Decoded Output download

--TEST--
Bug #46873 (extract($foo) crashes if $foo['foo'] exists)
--FILE--
<?php
$foo = array('foo' => 1, 'bar' => 2, 'test' => 3);
extract($foo);
var_dump($foo, $bar, $test);
?>
--EXPECT--
int(1)
int(2)
int(3)

Did this file decode correctly?

Original Code

--TEST--
Bug #46873 (extract($foo) crashes if $foo['foo'] exists)
--FILE--
<?php
$foo = array('foo' => 1, 'bar' => 2, 'test' => 3);
extract($foo);
var_dump($foo, $bar, $test);
?>
--EXPECT--
int(1)
int(2)
int(3)

Function Calls

extract 1

Variables

$foo [{'key': 'foo', 'value': 1}, {'key': 'bar', 'value': 2}, {'key': 'test', 'value': 3}]

Stats

MD5 7d7a5865a0c7bd9efa3b9dcce82e8c62
Eval Count 0
Decode Time 94 ms