PHPEye开源社区 » PHP基础交流 » @include language('actions')这是什末意思?
《Programming PHP》第二版上市
2007-10-9 13:27 flynetcn
@include language('actions')这是什末意思?

discuz论坛源码里有这样的语句(/forumdisplay.php)

if($detailstatus) {
                updatesession();
                @include language('actions');
                $whosonline = array();
                $forumname = strip_tags($forum['name']);
                $guestwhere = isset($_DCACHE['onlinelist'][7]) ? '' : "uid>'0' AND";

                $query = $db->query("SELECT uid, groupid, username, invisible, lastactivity, action FROM {$tablepre}sessions WHERE $guestwhere fid='$fid' AND invisible='0'");
                。。。。。。。。。
                                。。。。。。。。。
        }
----------------------------
@include language('actions'); 这样的include是怎莫个用法?有人知道吗?

2007-10-9 13:37 flynetcn
language('actions')原来是函数,开眼了,php还能这样用!
@做什莫的,不报错?

2007-10-10 16:59 Haohappy
是的,@屏蔽出错信息。

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.