| CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Mon, 29 Dec 2025 18:46:42 GMT
content-type: text/html
strict-transport-security: max-age=31536000
last-modified: Tue, 23 Dec 2025 11:11:03 GMT
vary: Accept-Encoding
etag: W/"694a78c7-5cba"
content-encoding: gzip
x-ac: 4.bom _atomic_dca MISS
alt-svc: h3=":443"; ma=86400
server-timing: a8c-cdn, dc;desc=bom, cache;desc=MISS;dur=362.0
WordPress PHP Playground
WordPress PHP Playground
✨ WordPress PHP Playground ✨
This app runs PHP code directly inside your browser via WordPress Playground.
Here's how:
- 🚀 WebAssembly Binary: The entire PHP runtime is compiled with plenty of extensions to run natively in your browser
- 🔌 JavaScript syscall handlers: Network requests, subprocesses, file locks, and other system calls are supported via JavaScript handlers.
- 🔗 Shareable URLs: Code and settings are encoded in the URL fragment, copy, paste, and enjoy it together!
💡 Tips
-
🔗 Embed in your app: You can embed
this playground in an iframe to provide interactive
PHP code snippets. Provide your base64-encoded code
snippet, PHP version, and WordPress version in the
URL fragment:
The above example loads:<iframe src="https://playground.wordpress.net/php-playground.html#eyJjb2RlIjoiPD9waHBcblxuZWNobyBcIkkgYW0gYSBjb2RlIHNuaXBwZXQhXCI7XG4iLCJwaHAiOiI4LjQifQ==" width="100%" height="600"> </iframe><?php echo "I am a code snippet!";