在PHP中,通过反射,可以方便地查找某个自定义函数所在的文件名,便于调试。同时还能得到该函数需要
查找helper函数
eg.
Reflection::export(new ReflectionFunction("helper"));
在PHP中,通过反射,可以方便地查找某个自定义函数所在的文件名,便于调试。同时还能得到该函数需要
查找helper函数
eg.
Reflection::export(new ReflectionFunction("helper"));
转载于:https://my.oschina.net/jphper/blog/160708