Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract function #25

Closed
Daniyal-Javani opened this issue Apr 5, 2018 · 1 comment
Closed

extract function #25

Daniyal-Javani opened this issue Apr 5, 2018 · 1 comment

Comments

@Daniyal-Javani
Copy link

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
Copy link
Owner

pk-fr commented Apr 7, 2018

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');

@pk-fr pk-fr closed this as completed Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants