Question about eval in PHP 5

前端 未结 7 1301
误落风尘
误落风尘 2020-12-21 16:44

I have been doing PHP stuff for almost one year and I have never used the function eval() though I know the usage of it. But I found many questions about it in

7条回答
  •  一整个雨季
    2020-12-21 17:02

    Using eval is quite dangerous, if see from security side. Anyway, a lot of template engines use eval, because they should parse page and get some variables or make calculations.

提交回复
热议问题