It is generally not recommended to use eval unless absolutely required.
On one hand, eval might be exploited by malicious users if they somehow manage
to inject dynamic content. On the other hand, with the emergence of faster PHP runtimes
like the HHVM, eval prevents some optimization that they perform.
On one hand,
eval
might be exploited by malicious users if they somehow manage to inject dynamic content. On the other hand, with the emergence of faster PHP runtimes like the HHVM,eval
prevents some optimization that they perform.