Is it possible to get variables with Reflection, like this?
function getVars() { ... ... ...Reflection codes... ... ... } function my1() { $x = 5; getVars(); }
so, as in getVars i could find that $x was 5
getVars
$x
5
Aucun commentaire:
Enregistrer un commentaire