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 #42233 (extract(): scandic characters not allowed as variable name) --FILE-- ..

Decoded Output download

--TEST--
Bug #42233 (extract(): scandic characters not allowed as variable name)
--FILE--
<?php

$test = array(
    'a'     => '1',
    ''     => '2',
    '' => '3',
);

var_dump($test);
var_dump(extract($test));
var_dump($a);
var_dump($);
var_dump($);

echo "Done.
";
?>
--EXPECT--
array(3) {
  ["a"]=>
  string(1) "1"
  [""]=>
  string(1) "2"
  [""]=>
  string(1) "3"
}
int(3)
string(1) "1"
string(1) "2"
string(1) "3"
Done.

Did this file decode correctly?

Original Code

--TEST--
Bug #42233 (extract(): scandic characters not allowed as variable name)
--FILE--
<?php

$test = array(
    'a'     => '1',
    ''     => '2',
    '' => '3',
);

var_dump($test);
var_dump(extract($test));
var_dump($a);
var_dump($);
var_dump($);

echo "Done.\n";
?>
--EXPECT--
array(3) {
  ["a"]=>
  string(1) "1"
  [""]=>
  string(1) "2"
  [""]=>
  string(1) "3"
}
int(3)
string(1) "1"
string(1) "2"
string(1) "3"
Done.

Function Calls

None

Variables

None

Stats

MD5 0b11a7571b867b7ce209cd20be681ac5
Eval Count 0
Decode Time 100 ms