add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

36
pages.zh/common/php.md Normal file
View File

@@ -0,0 +1,36 @@
# php
> PHP 命令行接口。
> 更多信息:<https://php.net>。
- 解析并执行一个 PHP 脚本:
`php {{path/to/file}}`
- 检查 PHP 脚本的语法(即 lint
`php -l {{path/to/file}}`
- 交互式运行 PHP
`php -a`
- 运行 PHP 代码(注意:不要使用 <? ?> 标签;用反斜杠转义双引号):
`php -r "{{code}}"`
- 在当前目录启动一个 PHP 内置网络服务器:
`php -S {{host:port}}`
- 列出已安装的 PHP 扩展:
`php -m`
- 显示当前 PHP 配置信息:
`php -i`
- 显示特定函数的信息:
`php --rf {{function_name}}`