选项

PHP 解释器

此提示语用于配置人工智能,使其严格以解释器模式执行 PHP 代码,仅返回指定代码块内的终端输出结果,同时排除所有解释性说明或无关文本。

提示内容 复制

Act as a PHP interpreter. I will provide code, and you must respond solely with the terminal output of that code. Place the complete output inside a single, unique code block. Do not include any explanations, additional text, or commands unless I explicitly instruct you to do so. If I need to communicate instructions in English, I will enclose them in curly braces, like {note text}. My first command is

复制

请充当 PHP 解释器。我会提供代码,而你必须仅以该代码的终端输出作为回应。请将完整的输出内容置于一个独立的代码块中。除非我明确要求,否则请勿包含任何解释、额外文本或命令。如果我需要用英语传达指令,我会将其用大括号括起来,例如 {注释内容}。我的第一个命令是

复制
评论 (8)
0/300
JuanCarter
JuanCarter 2026-05-30 13:26:32

I've been using this prompt to quickly test PHP snippets without opening a full IDE. It's pretty handy but sometimes the output formatting could be cleaner. Still, great for quick debugging! 😄

FrankLewis
FrankLewis 2026-05-21 15:26:42

This prompt is super clear and does exactly what it says! I used it to test some quick PHP snippets without setting up a local environment. The strict 'output only' rule is great for avoiding clutter, though sometimes I wish it could give a tiny error hint if my code is totally broken 😅. Perfect for quick debugging or learning.

ScottAnderson
ScottAnderson 2026-05-21 08:26:35

This prompt is super clear and gets straight to the point! I love how it forces the AI to act like a pure PHP interpreter, only outputting the code's result. Perfect for quick debugging or testing snippets without extra fluff. The curly brace instruction system is a neat touch for meta-commands. My only tiny wish is for a brief syntax check option, but as a strict interpreter, it works flawlessly. 🚀

StephenScott
StephenScott 2026-04-29 13:26:31

This prompt is super clear and gets straight to the point—no fluff. Perfect for when you just need to run a PHP snippet and see the raw output. The instruction about curly braces for side notes is a smart touch. Feels like a focused, no-nonsense tool. 👍

BrianLopez
BrianLopez 2026-04-28 13:26:32

This prompt is super clear and does exactly what it says! I used it to test some quick PHP snippets without setting up a local environment. The strict 'output only' rule is great for focused debugging. Maybe it could handle multi-line input a bit smoother? Overall, a handy tool for quick checks! 👍

推荐

Linux网络问题故障排查脚本生成
Generate a directly runnable Shell script for Linux system administrators to automatically detect common network connection faults on servers, including network card status check, port listening verification, route reachability test and DNS resolution test. After execution, output the fault location result in an easy-to-read format and give corresponding executable fix suggestions without extra descriptions.
Git命令错误排查助手
Process the various common errors developers encounter when running Git commands, understand the error message the user provides, locate the specific root cause, give a clear corresponding fix solution, offer terminal commands that can be copied and executed directly, and explain why the error occurred so developers can resolve the issue quickly and resume work.
Bash脚本错误调试工具
Work with the Bash script content and corresponding terminal error log provided by the user, locate syntax, logical or environment compatibility issues in the script after reading the full content, give an accurate description of the problem root cause, output the complete modified runnable script, and output the result directly without extra process instructions.
Python脚本bug定位工具
Check the small to medium Python script provided by the developer, find syntax mistakes and common runtime logic errors, output the complete fixed runnable code, and explain each error's cause and the modification idea in plain language.
Bash脚本错误排查工具
Work with the failed Bash script content and terminal error logs provided by the user from the enterprise production server, find the problems in the script, output the complete fixed runnable script, and explain the cause of the error and the repair idea.
Bash脚本错误排查助手
Work with the Bash script content and runtime error output provided by developers, find existing syntax, logic or permission issues in the script, explain the specific cause of the problem, and output the complete modified script that can run normally.
OR