php e() and h() functions?

前端 未结 13 2081
情书的邮戳
情书的邮戳 2021-02-03 19:06

I and lately I\'m seeing h() and e() functions in PHP. I have googled them, but they are so short that results don\'t give any idea of what they are. I

13条回答
  •  甜味超标
    2021-02-03 19:40

    I'd guess that h() escapes user-submitted data for safe output, and e() escapes for database insertion. Whatever the functionality, these are not stock PHP functions.

提交回复
热议问题