thinkphp3.2 如何赋值给C函数??

一张图,一目了然。

  

下面是va($mode)显示在浏览器中的结果:

  

array(4) {

  ["config"]=>

  array(2) {

    [0]=>

    string(48) "D:\www\www\thinkphp\ThinkPHP/Conf/convention.php"

    [1]=>

    string(36) "./Application/Common/Conf/config.php"

  }

  ["alias"]=>

  array(9) {

    ["Think\Log"]=>

    string(56) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Log.class.php"

    ["Think\Log\Driver\File"]=>

    string(68) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Log/Driver/File.class.php"

    ["Think\Exception"]=>

    string(62) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Exception.class.php"

    ["Think\Model"]=>

    string(58) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Model.class.php"

    ["Think\Db"]=>

    string(55) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Db.class.php"

    ["Think\Template"]=>

    string(61) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Template.class.php"

    ["Think\Cache"]=>

    string(58) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Cache.class.php"

    ["Think\Cache\Driver\File"]=>

    string(70) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Cache/Driver/File.class.php"

    ["Think\Storage"]=>

    string(60) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Storage.class.php"

  }

  ["core"]=>

  array(11) {

    [0]=>

    string(49) "D:\www\www\thinkphp\ThinkPHP/Common/functions.php"

    [1]=>

    string(40) "./Application/Common/Common/function.php"

    [2]=>

    string(57) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Hook.class.php"

    [3]=>

    string(56) "D:\www\www\thinkphp\ThinkPHP\Library/Think/App.class.php"

    [4]=>

    string(63) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Dispatcher.class.php"

    [5]=>

    string(58) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Route.class.php"

    [6]=>

    string(63) "D:\www\www\thinkphp\ThinkPHP\Library/Think/Controller.class.php"

    [7]=>

    string(57) "D:\www\www\thinkphp\ThinkPHP\Library/Think/View.class.php"

    [8]=>

    string(73) "D:\www\www\thinkphp\ThinkPHP\Library/Behavior/BuildLiteBehavior.class.php"

    [9]=>

    string(77) "D:\www\www\thinkphp\ThinkPHP\Library/Behavior/ParseTemplateBehavior.class.php"

    [10]=>

    string(78) "D:\www\www\thinkphp\ThinkPHP\Library/Behavior/ContentReplaceBehavior.class.php"

  }

  ["tags"]=>

  array(6) {

    ["app_init"]=>

    array(1) {

      [0]=>

      string(26) "Behavior\BuildLiteBehavior"

    }

    ["app_begin"]=>

    array(1) {

      [0]=>

      string(30) "Behavior\ReadHtmlCacheBehavior"

    }

    ["app_end"]=>

    array(1) {

      [0]=>

      string(30) "Behavior\ShowPageTraceBehavior"

    }

    ["view_parse"]=>

    array(1) {

      [0]=>

      string(30) "Behavior\ParseTemplateBehavior"

    }

    ["template_filter"]=>

    array(1) {

      [0]=>

      string(31) "Behavior\ContentReplaceBehavior"

    }

    ["view_filter"]=>

    array(1) {

      [0]=>

      string(31) "Behavior\WriteHtmlCacheBehavior"

    }

  }

}

 

  

你可能感兴趣的:(thinkphp)