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.
我需要这个函数(imagettftext)在php中的来源。我找不到源(它是由php实现的)。
有人知道我在哪里可以找到它吗?
此致
我不是 C 方面的专家,但我只是浏览了 PHP 5.3.3 的源代码,看起来它ext/gd/gd.c从第 3879 行开始。
ext/gd/gd.c
谷歌上的 10 秒让我明白了这一点:- https://bitbucket.org/pierrejoye/gd-libgd/overview
它是用 C 实现的,而不是 PHP,它是 GD 库的一部分。