Guys,
Just a quick q.
Is it possible to write a statement within a variable, then execute the variable as though it were a statement?
E.G:
<?php
$myVariable = "1 + 1";
echo("$myVariable");
?>
This prints out
1 + 1
Is there a way to get it to print out
2
simply and without going into regex?
Ta.
