小发现:PHP中extension_loaded比class_exists快大概5%
By
lincanbin
at 2015-03-29 • 2人收藏 • 1400人看过
https://github.com/lincanbin/Carbon-Forum/commit/8d66f00bf9f2649ac1f9b6dc882b96ef5c547d46
虽然对性能影响还不到微秒级,我还是测试了一下,更换成了性能更高的extension_loaded
登录后方可回帖