PHP输出系统中已定义的常量

var_dump (get_defined_constants());

原文地址:https://www.cnblogs.com/hgj123/p/3678069.html