为什么我会报这个错误

来源:4-5 [MVC实例]入口文件功能

qq_唐风依旧_0

2016-09-28 11:17


    function daddslashes($str){

        return (!get_magic_quotes_gpc())?addslashes($str):$str;

    }



Description Resource Path Location Type

Call to undefined function 'addslashes' function.php /MVC/mvc line 31 PHP Semantic Problem

Description Resource Path Location Type

Call to undefined function 'get_magic_quotes_gpc' function.php /MVC/mvc line 31 PHP Semantic Problem


写回答 关注

2回答

  • PengCheng
    2016-10-08 19:14:19

    addslashes 是php内置函数呀。你检查下php的环境


  • qq_唐风依旧_0
    2016-09-28 11:18:46

    addslashes 不是PHP的内置函数吗

MVC架构模式分析与设计

通过学习MVC理论知识,由浅入深带您实现人生第一个MVC框架

82364 学习 · 929 问题

查看课程

相似问题