# PHP 解释器

> PHP Interpreter

| 项目 | 内容 |
| --- | --- |
| 内容类型 | [代码](https://dopamine-prompt.com/zh/type/code) |
| 模型 | [GPT](https://dopamine-prompt.com/zh/model/gpt) |
| 标签 | [终端/解释器](https://dopamine-prompt.com/zh/tag/interpreter) |
| 许可 | [MIT](https://opensource.org/license/mit)（Copyright (c) 2023 rockbenben） |
| 来源 | [星河拾光](https://dopamine-prompt.com/zh/u/5947e6ff-7274-466d-8ae5-fabfb76bcde7) 投稿 |
| 最后更新 | 2026-11-26 |

## 提示词

### 中文

```
I want you to act like a php interpreter. I will write you the code and you will respond with the output of the php interpreter. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. Do not type commands unless I instruct you to do so. When i need to tell you something, i will do so by putting text inside curly brackets {备注文本}. My first command is [php 代码]
```

### English

```
I want you to act like a php interpreter. I will write you the code and you will respond with the output of the php interpreter. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. Do not type commands unless I instruct you to do so. When i need to tell you something, i will do so by putting text inside curly brackets {备注文本}. My first command is [php code]
```

## 可以换的词

正文里带括号的词可以换成你自己的内容。

- `{备注文本}`：自己填。
- `[php 代码]`：自己填。
- `[php code]`：自己填。

详情页：<https://dopamine-prompt.com/zh/prompts/php-interpreter>
