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.
我有 ini 文件选项:
test="hello;wordl"
如果您在 parse_ini_file 函数中使用 INI_SCANNER_RAW 参数,则它会返回:
[test]="hello
因为 (;) 是注释符号。
我尝试在 (;) 之前使用 (\) 转义符号,但结果是一样的。您对如何转义评论符号有任何想法吗?