PHP中想过获取系统内置的所有常量吗?

print_r(get_defined_constants(true));

OK!这样就可以了,赶紧去试试吧

posted @ 2016-09-26 14:22  (BACH)  阅读(270)  评论(0编辑  收藏  举报