php 中常见的函数及系统常量时间:2023-03-09 18:04:19 1、判断是否存在某函数: function_exists('memory_get_usage'); 2、统计程序执行到某节点消耗的系统内存: memory_get_usage(); 3、当前访问目录的地址 __DIR__;