SkillCertify/Playgrounds/

PHP

Runs in your browser
About

A free PHP playground: the PHP 8 interpreter, compiled to WebAssembly, runs your script inside your browser tab.

What you can practice

  • Work with arrays: filter, map, sort and group
  • Write classes, interfaces and enums
  • Format strings and match text with regular expressions
  • Decode and encode JSON
  • Render HTML pages with PHP templates

Which PHP version is it?

PHP 8.5, the official interpreter compiled to WebAssembly.

Can my script connect to a database or the internet?

No. It runs in your browser with no network access, so there is no MySQL server; each run starts from a fresh interpreter.

Is my code saved?

No. Everything is lost when you refresh or close the tab.

Browse Labs
⚠This playground runs entirely in your browser. All data is lost if you refresh or close the page.
Online PHP Playground — Run PHP 8 in Your Browser | SkillCertify