Loading PHP Workspace...
PHP is a popular general-purpose scripting language that is especially suited to web development and server-side processing.
PHP reads inputs via `fgets(STDIN)` or `readline()`. Enter lines in the STDIN tab.
Key-value maps in PHP.
$person = ["name" => "Sarah", "city" => "Seattle"]; echo $person["name"];
Yes. You can write, compile, execute, test, and share PHP programs completely free with no software installation or registration required.
Code executes in high-performance isolated sandboxes with low compilation latency, outputting stdout and execution metrics in milliseconds.
Yes. Click the Share button in the navigation bar to generate a persistent link that encapsulates your code, files, and STDIN inputs for seamless collaboration.