3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(parse_ini_string('[unix_http_server] file = /tmp/supervisor.sock chmod = 0777 chown= nobody:nogroup username = user password = 123 [inet_http_server] port = 127.0.0.1:9001 username = user password = 123 [supervisord] logfile = /tmp/supervisord.log logfile_maxbytes = 50MB logfile_backups=10 ;comment loglevel = info pidfile = /tmp/supervisord.pid nodaemon = false minfds = 1024 minprocs = 200 umask = 022 user = chrism identifier = supervisor directory = /tmp nocleanup = true childlogdir = /tmp strip_ansi = false environment = "KEY1="value1",KEY2="value2"" [supervisorctl] serverurl = unix:///tmp/supervisor.sock username = chris password = 123 prompt = mysupervisor [program:cat] command = /bin/cat process_name = "%(program_name)s" numprocs = 1 directory = /tmp umask = 022 priority = 999 autostart = true autorestart = true startsecs = 10 startretries = 3 exitcodes = 0,2 stopsignal = TERM stopwaitsecs = 10 user = chrism redirect_stderr = false stdout_logfile = /a/path stdout_logfile_maxbytes = 1MB stdout_logfile_backups = 10 stdout_capture_maxbytes = 1MB stderr_logfile = /a/path stderr_logfile_maxbytes = 1MB stderr_logfile_backups = 10 stderr_capture_maxbytes = 1MB environment = "A="1",B="2"" serverurl = AUTO [program:cat2] command = /bin/cat process_name = "%(program_name)s" numprocs = 1 directory = /tmp umask = 022 priority = 999 autostart = true autorestart = true startsecs = 10 startretries = 3 exitcodes = 0,2 stopsignal = TERM stopwaitsecs = 10 user = chrism redirect_stderr = false stdout_logfile = /a/path stdout_logfile_maxbytes = 1048576 stdout_logfile_backups = 10 stdout_capture_maxbytes = 1048576 stderr_logfile = /a/path stderr_logfile_maxbytes = 1048576 stderr_logfile_backups = 10 stderr_capture_maxbytes = 1048576 environment = "A="1",B="2"" serverurl = AUTO [include] files = /an/absolute/filename.conf /an/absolute/*.conf foo.conf config??.conf [group:foo] programs = bar,baz priority = 999 [group:foo] programs = bar,baz priority = 999 [fcgi-program:fcgiprogramname] command = /usr/bin/example.fcgi socket = "unix:///var/run/supervisor/%(program_name)s.sock" socket_owner = chrism socket_mode = 0700 process_name = "%(program_name)s_%(process_num)02d" numprocs = 5 priority = 999 autostart = true autorestart = unexpected startsecs = 1 startretries = 3 exitcodes = 0,2 stopsignal = QUIT stopwaitsecs = 10 user = chrism redirect_stderr = true stdout_logfile = /a/path stdout_logfile_maxbytes = 1MB stdout_logfile_backups = 10 stderr_logfile = /a/path stderr_logfile_maxbytes = 1MB stderr_logfile_backups = 10 environment = "A="1",B="2"" serverurl = AUTO [eventlistener:theeventlistenername] command = /bin/eventlistener process_name = "%(program_name)s_%(process_num)02d" numprocs = 5 events = PROCESS_STATE buffer_size = 10 priority = -1 autostart = true autorestart = unexpected startsecs = 1 startretries = 3 exitcodes = 0,2 stopsignal = QUIT stopwaitsecs = 10 user = chrism redirect_stderr = true stdout_logfile = /a/path stdout_logfile_maxbytes = 1MB stdout_logfile_backups = 10 stderr_logfile = /a/path stderr_logfile_maxbytes = 1MB stderr_logfile_backups = 10 environment = "A="1",B="2"" result_handler = supervisor.dispatchers:default_handler [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface retries = 1 ', true));
Output for git.master_jit, git.master, rfc.property-hooks
array(11) { ["unix_http_server"]=> array(5) { ["file"]=> string(20) "/tmp/supervisor.sock" ["chmod"]=> string(4) "0777" ["chown"]=> string(14) "nobody:nogroup" ["username"]=> string(4) "user" ["password"]=> string(3) "123" } ["inet_http_server"]=> array(3) { ["port"]=> string(14) "127.0.0.1:9001" ["username"]=> string(4) "user" ["password"]=> string(3) "123" } ["supervisord"]=> array(16) { ["logfile"]=> string(20) "/tmp/supervisord.log" ["logfile_maxbytes"]=> string(4) "50MB" ["logfile_backups"]=> string(2) "10" ["loglevel"]=> string(4) "info" ["pidfile"]=> string(20) "/tmp/supervisord.pid" ["nodaemon"]=> string(0) "" ["minfds"]=> string(4) "1024" ["minprocs"]=> string(3) "200" ["umask"]=> string(3) "022" ["user"]=> string(6) "chrism" ["identifier"]=> string(10) "supervisor" ["directory"]=> string(4) "/tmp" ["nocleanup"]=> string(1) "1" ["childlogdir"]=> string(4) "/tmp" ["strip_ansi"]=> string(0) "" ["environment"]=> string(23) "KEY1=value1,KEY2=value2" } ["supervisorctl"]=> array(4) { ["serverurl"]=> string(27) "unix:///tmp/supervisor.sock" ["username"]=> string(5) "chris" ["password"]=> string(3) "123" ["prompt"]=> string(12) "mysupervisor" } ["program:cat"]=> array(25) { ["command"]=> string(8) "/bin/cat" ["process_name"]=> string(16) "%(program_name)s" ["numprocs"]=> string(1) "1" ["directory"]=> string(4) "/tmp" ["umask"]=> string(3) "022" ["priority"]=> string(3) "999" ["autostart"]=> string(1) "1" ["autorestart"]=> string(1) "1" ["startsecs"]=> string(2) "10" ["startretries"]=> string(1) "3" ["exitcodes"]=> string(3) "0,2" ["stopsignal"]=> string(4) "TERM" ["stopwaitsecs"]=> string(2) "10" ["user"]=> string(6) "chrism" ["redirect_stderr"]=> string(0) "" ["stdout_logfile"]=> string(7) "/a/path" ["stdout_logfile_maxbytes"]=> string(3) "1MB" ["stdout_logfile_backups"]=> string(2) "10" ["stdout_capture_maxbytes"]=> string(3) "1MB" ["stderr_logfile"]=> string(7) "/a/path" ["stderr_logfile_maxbytes"]=> string(3) "1MB" ["stderr_logfile_backups"]=> string(2) "10" ["stderr_capture_maxbytes"]=> string(3) "1MB" ["environment"]=> string(7) "A=1,B=2" ["serverurl"]=> string(4) "AUTO" } ["program:cat2"]=> array(25) { ["command"]=> string(8) "/bin/cat" ["process_name"]=> string(16) "%(program_name)s" ["numprocs"]=> string(1) "1" ["directory"]=> string(4) "/tmp" ["umask"]=> string(3) "022" ["priority"]=> string(3) "999" ["autostart"]=> string(1) "1" ["autorestart"]=> string(1) "1" ["startsecs"]=> string(2) "10" ["startretries"]=> string(1) "3" ["exitcodes"]=> string(3) "0,2" ["stopsignal"]=> string(4) "TERM" ["stopwaitsecs"]=> string(2) "10" ["user"]=> string(6) "chrism" ["redirect_stderr"]=> string(0) "" ["stdout_logfile"]=> string(7) "/a/path" ["stdout_logfile_maxbytes"]=> string(7) "1048576" ["stdout_logfile_backups"]=> string(2) "10" ["stdout_capture_maxbytes"]=> string(7) "1048576" ["stderr_logfile"]=> string(7) "/a/path" ["stderr_logfile_maxbytes"]=> string(7) "1048576" ["stderr_logfile_backups"]=> string(2) "10" ["stderr_capture_maxbytes"]=> string(7) "1048576" ["environment"]=> string(7) "A=1,B=2" ["serverurl"]=> string(4) "AUTO" } ["include"]=> array(1) { ["files"]=> string(69) "/an/absolute/filename.conf /an/absolute/*.conf foo.conf config??.conf" } ["group:foo"]=> array(2) { ["programs"]=> string(7) "bar,baz" ["priority"]=> string(3) "999" } ["fcgi-program:fcgiprogramname"]=> array(24) { ["command"]=> string(21) "/usr/bin/example.fcgi" ["socket"]=> string(48) "unix:///var/run/supervisor/%(program_name)s.sock" ["socket_owner"]=> string(6) "chrism" ["socket_mode"]=> string(4) "0700" ["process_name"]=> string(34) "%(program_name)s_%(process_num)02d" ["numprocs"]=> string(1) "5" ["priority"]=> string(3) "999" ["autostart"]=> string(1) "1" ["autorestart"]=> string(10) "unexpected" ["startsecs"]=> string(1) "1" ["startretries"]=> string(1) "3" ["exitcodes"]=> string(3) "0,2" ["stopsignal"]=> string(4) "QUIT" ["stopwaitsecs"]=> string(2) "10" ["user"]=> string(6) "chrism" ["redirect_stderr"]=> string(1) "1" ["stdout_logfile"]=> string(7) "/a/path" ["stdout_logfile_maxbytes"]=> string(3) "1MB" ["stdout_logfile_backups"]=> string(2) "10" ["stderr_logfile"]=> string(7) "/a/path" ["stderr_logfile_maxbytes"]=> string(3) "1MB" ["stderr_logfile_backups"]=> string(2) "10" ["environment"]=> string(7) "A=1,B=2" ["serverurl"]=> string(4) "AUTO" } ["eventlistener:theeventlistenername"]=> array(23) { ["command"]=> string(18) "/bin/eventlistener" ["process_name"]=> string(34) "%(program_name)s_%(process_num)02d" ["numprocs"]=> string(1) "5" ["events"]=> string(13) "PROCESS_STATE" ["buffer_size"]=> string(2) "10" ["priority"]=> string(2) "-1" ["autostart"]=> string(1) "1" ["autorestart"]=> string(10) "unexpected" ["startsecs"]=> string(1) "1" ["startretries"]=> string(1) "3" ["exitcodes"]=> string(3) "0,2" ["stopsignal"]=> string(4) "QUIT" ["stopwaitsecs"]=> string(2) "10" ["user"]=> string(6) "chrism" ["redirect_stderr"]=> string(1) "1" ["stdout_logfile"]=> string(7) "/a/path" ["stdout_logfile_maxbytes"]=> string(3) "1MB" ["stdout_logfile_backups"]=> string(2) "10" ["stderr_logfile"]=> string(7) "/a/path" ["stderr_logfile_maxbytes"]=> string(3) "1MB" ["stderr_logfile_backups"]=> string(2) "10" ["environment"]=> string(7) "A=1,B=2" ["result_handler"]=> string(38) "supervisor.dispatchers:default_handler" } ["rpcinterface:supervisor"]=> array(2) { ["supervisor.rpcinterface_factory"]=> string(46) "supervisor.rpcinterface:make_main_rpcinterface" ["retries"]=> string(1) "1" } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.48 ms | 417 KiB | 8 Q