Parsing Valve Data Format files in PHP

后端 未结 2 1253
暗喜
暗喜 2021-01-23 14:45

I am completely stuck in how to start parsing these kind of files in PHP. These are some sort of arrays with variable amount of sub-arrays. https://developer.valvesoftware.com/w

2条回答
  •  借酒劲吻你
    2021-01-23 15:28

    There an online one I found. http://rossengeorgiev.github.io/vdf-parser/

    The repo has a js and python implementations, it shouldn't be too hard to port them to PHP.

提交回复
热议问题