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.
是否有任何特定功能或任何方式GDBM 可以计算文件中的行数?否则,我想一次检索文件中的所有行(我能够使用但只能使用一个GDBM检索键值对gdbm_fetch()时间。
GDBM
gdbm_fetch()
我得到了上述问题的解决方案。
现在我可以检索所有键值对。
解决方案:这里