Run your code to see the output here.
Run PHP code online in a fast, secure sandbox — no setup. Run PHP online — execute PHP scripts with the CLI interpreter. Generate, fix and explain code with one-click AI. Write PHP in the editor, press Run, and your code executes in an isolated Linux sandbox powered by PHP CLI — nothing to install. Need a starting point or stuck on an error? Let the built-in AI generate, fix, comment or optimize your code, streamed straight into the editor.
Cached, pre-built environments start fast and run your PHP in a secure sandbox with stdin support.
Generate from a prompt, fix the exact error you hit, add comments or optimize — the result appears live in the editor.
Every run happens in a throwaway sandbox with strict time and memory limits — your machine never runs the code.
Signed-in runs are saved so you can revisit and share what you ran.
Yes. Running code is free — guests get 5 runs a day, a free account gets 50, and paid plans get 500. Only the optional AI actions use credits, like the rest of CodingFleet.
Your code runs with PHP CLI inside a sandboxed Linux environment.
Yes — open the “Standard input (stdin)” panel under the editor and type the input your program should receive.
When you're signed in, each run is saved to your history so you can find it later. Your latest editor content is also kept in your browser between visits.