3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $a = <<< T server { listen 80; server_name www1.smxybbs.net; access_log /home/qwe7002/nginx.access.log; error_log /home/qwe7002/nginx.error.log; index index.php index.html index.htm; autoindex on; error_page 404 /404.html; error_page 403 /403.html; error_page 502 /502.html; root /home/qwe7002/bbs/; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { fastcgi_pass unix:/tmp/qwe7002-fpm.sock; fastcgi_index index.php; include fastcgi_params; } } T; echo json_encode($a);
Output for git.master_jit, git.master, rfc.property-hooks
Warning: Undefined variable $uri in /in/NSTvI on line 24 Warning: Undefined variable $uri in /in/NSTvI on line 24 Warning: Undefined variable $args in /in/NSTvI on line 24 "server {\n listen 80;\n\n server_name www1.smxybbs.net;\n\n access_log \/home\/qwe7002\/nginx.access.log;\n error_log \/home\/qwe7002\/nginx.error.log;\n\n index index.php index.html index.htm;\n\n autoindex on;\n \n error_page 404 \/404.html;\n error_page 403 \/403.html;\n error_page 502 \/502.html;\n \n root \/home\/qwe7002\/bbs\/;\n\n location \/ {\n try_files \/ \/index.php?;\n }\n\n location ~ \\.php$ {\n fastcgi_pass unix:\/tmp\/qwe7002-fpm.sock;\n fastcgi_index index.php;\n include fastcgi_params;\n }\n}"

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:
39.53 ms | 402 KiB | 8 Q