pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.27k stars 354 forks source link

extract function #25

Closed Daniyal-Javani closed 6 years ago

Daniyal-Javani commented 6 years ago

Do you have idea to make the code run as expected after Obfuscation?


/* Suppose that $var_array is an array returned from
wddx_deserialize */

$size = "large";
$var_array = array("color" => "blue",
    "size" => "medium",
    "shape" => "sphere");
extract($var_array, EXTR_PREFIX_SAME, "wddx");

echo "$color, $size, $shape, $wddx_size\n";
pk-fr commented 6 years ago

Same as for indirect variable names:

Do not use it! or put all the variable names you use indirectly in the $conf->t_ignore_variables array of your config file!

$conf->t_ignore_variables = array('color','size','shape','wddx_size');