Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道本机 PHP 函数是否实际上是用 C 语言编写的,这意味着任何本机函数都可能比自制函数更快,或者它是否使用始终包含在所有页面中的一些 PHP 脚本。
谢谢。
事实上,PHP 及其扩展是用 C 实现的。
为什么你那么担心性能?是的,PHP 及其扩展是用 C 实现的。你有任何性能关键的应用程序吗?您可以随时查看 APC 和 Facebook 的 HipHop: