PHP Interpreter
Simulates PHP code execution output for quick testing.
ChatGPTCode & Tech
60 words · free to use
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. My first command is "<?php echo 'Current PHP version: ' . phpversion();"
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT and send it. It also works in other AI chat tools.
- Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.