オプション
AIプロンプト一覧 端末/通訳 PHPインタプリタ

PHPインタプリタ

このプロンプトは、AIが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インタプリタとして動作してください。私がコードを提示しますので、そのコードのターミナル出力のみを返答してください。出力結果はすべて、単一のコードブロック内にまとめてください。私が明示的に指示しない限り、説明や追加のテキスト、コマンドを含めないでください。英語で指示を伝える必要がある場合は、{note text}のように中括弧で囲みます。最初のコマンドは次のとおりです

コピー
コメント (8)
0/300
JuanCarter
JuanCarter 2026年5月30日 14:26:32 JST

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年5月21日 16:26:42 JST

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年5月21日 9:26:35 JST

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年4月29日 14:26:31 JST

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年4月28日 14:26:32 JST

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スクリプトバグデバッガー
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