# this prints "something" with extra layers of pointless recursion: print (eval (eval (eval (eval (eval (eval "something"))))); # prints 1024 $it = "ev"."al (".substr("devaluation",1,4) . "(2+2)" ."*"x2 . " 3)"; foreach (0..3) { $it = "eval($it) * 2" } print eval($it);
In reply to Re^3: eval function
by dynamo
in thread eval function
by Tony1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |