Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save globalideias/3de46c38c976ce413a2fdc14f695bd93 to your computer and use it in GitHub Desktop.
Save globalideias/3de46c38c976ce413a2fdc14f695bd93 to your computer and use it in GitHub Desktop.
<?php
$a = "aa";
$b = "bb";
$c = "cc";
$d = "dd";
$e = "ee";
$get = 'a';
eval('$aux=$' . $get.';');
echo $aux;
@globalideias
Copy link
Author

Com numeros teria que ser dessa forma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment