New-learner offer: courses from $12.99 this week. Browse courses
PHP 8.3 · free · no sign-up · input supported
Test PHP 8 snippets, string handling and arrays without a web server.
Run PHP 8.3 in your browser from the command line, without Apache, Nginx or Docker. Start your file with <?php, press Run and see the output immediately.
Use it to test string functions, array operations, classes, enums and the newer syntax introduced in PHP 8, or to check an answer while studying.
Enums, readonly properties, match expressions, named arguments and union types are all supported.
Read the Input panel with fgets(STDIN) or file_get_contents('php://stdin').
Notices, warnings and fatal errors are shown in the Errors panel with line numbers.
No. The sandbox runs PHP on the command line, so there is no HTTP request. Use STDIN for input and echo for output.
PHP 8.3.
No. Only PHP's bundled extensions are available.
Yes, a few seconds of CPU time per run; the script is terminated otherwise.