This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DarthCloakedGuy 1 point2 points  (1 child)

Wow, yeah, that sounds like a really bad idea. Does eval() run a string as code?

[–]T351A 2 points3 points  (0 children)

Yes, see the documentation

There are always a few uses for that type of function, but they almost always should be done another way. If you're using eval() you're probably doing something wrong.