PHP Sandbox

Test your PHP code with this code tester

You can test and compare your PHP code on 400+ PHP versions with this online editor.

  • PHP Sandbox
  • Enable Left-Right mode
  • Enable Wide mode
  • Execute
<?php
namespace Foobar;
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
PHP Versions and Options (8.2.20)
Other Options


Latest Updates

10/06/2024: Added PHP 8.1.30, 8.2.23, 8.2.24, 8.3.11, 8.3.12
08/04/2024: Added PHP 8.2.22, 8.3.10
07/15/2024: Added PHP 8.2.21, 8.3.9
06/05/2024: Added PHP 8.1.29 8.2.20, 8.3.8
05/09/2024: Added PHP 8.2.19, 8.3.7

Please let me know when you find anything to help make this website better :)

See all updates in the changelog

Notes

Network access is rerouted from within the Sandbox, and system access is limited for now. Read about how to use network functions and example files.

If you feel like a function should be enabled/disabled, or if you have any other suggestions, let me know through the comments below or send me an email :).

Looking for the old version?
Check this out: The Legacy Online PHP Sandbox

Comments?
You can find comments here

Most used PHP functions

Last used PHP functions