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.
我正在使用 Python 来利用搁置功能进行索引,我想知道是否可以在 PHP 中打开和读取文件。
我检查了 PHP Shelve 选项,它似乎无法在 PHP 5.XI 上运行(运行他们给我的示例时)
PHP 致命错误:无法在第 205 行的 test.php 中通过引用传递参数 2
即便如此,我认为在 PHP 中的搁置写入性能不会与在 Python 中相同。
我不确定该项目有多成熟或开发得有多好,但是,如果我有这种需要,我会尝试Python In PHP项目。