Execute PHP scripts in a secure and isolated runtime environment
STDIN
, STDOUT
and STDERR
and corresponding
php://stdin
, php://stdout
and php://stderr
I/O
streams. The php://input
and php://output
streams work as expected.
The PHP interpreter also doesn’t populate command line parameters in $argv
when running as a CGI program.
See our roadmap for planned future improvements.
stdout
with echo
or using the php://output
stream.
Write to stderr
with
error_log
.
stdin
using the php://input
stream, and access environment
variables using $_ENV
. Unfortunately $argv
isn’t populated.