PHPSandbox lets developers create an intermediary level of code execution where they can safely run their PHP code using custom configurations.
These configurations can run a blacklist or whitelist model, letting developers ban or allow only a specific set of functions to be executed from their code.
This prevents the execution of unsafe code and also allows developers to closely observe the results of a specific code (sub-)routine.
Configurations are stored as JSON files, which can be shared with other developers and team members.
The PHPSandbox class comes with Composer support and with a GUI for copy-pasting and then running the PHP code in a sandbox mode.
What is new in this release:
- Addressed issue where arrays may potentially allow for compromising the sandbox by encapsulating unsandboxed callables.
What is new in version 1.3.10:
- Addressed issue where arrays may potentially allow for compromising the sandbox by encapsulating unsandboxed callables.
Requirements:
- PHP 5.3.2 or higher
Comments not found