3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = <<< 'T' server { listen 80; server_name reader.wogong.net; root /home/wogong/selfoss/; access_log /home/wogong/log/selfoss.access.log; error_log /home/wogong/log/selfoss.error.log; location ~* \ (gif|jpg|png) { expires 30d; } location ~ ^/favicons/.*$ { try_files $uri /data/$uri; } location ~ ^/thumbnails/.*$ { try_files $uri /data/$uri; } location ~* ^/(data\/logs|data\/sqlite|config\.ini|\.ht) { deny all; } location / { index index.php index.html index.htm; try_files $uri /public/$uri /index.php$is_args$args; } location ~ \.php$ { fastcgi_pass unix:/tmp/wogong-fpm.sock; fastcgi_index index.php; include fastcgi_params; } } T; echo json_encode($a);
Output for git.master_jit, git.master, rfc.property-hooks
"server {\n listen 80;\n server_name reader.wogong.net;\n root \/home\/wogong\/selfoss\/;\n \n access_log \/home\/wogong\/log\/selfoss.access.log;\n error_log \/home\/wogong\/log\/selfoss.error.log;\n \n location ~* \\ (gif|jpg|png) {\n expires 30d;\n }\n \n location ~ ^\/favicons\/.*$ {\n try_files $uri \/data\/$uri;\n }\n \n location ~ ^\/thumbnails\/.*$ {\n try_files $uri \/data\/$uri;\n }\n \n location ~* ^\/(data\\\/logs|data\\\/sqlite|config\\.ini|\\.ht) {\n deny all;\n }\n \n location \/ {\n index index.php index.html index.htm;\n try_files $uri \/public\/$uri \/index.php$is_args$args;\n }\n \n location ~ \\.php$ {\n fastcgi_pass unix:\/tmp\/wogong-fpm.sock;\n \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:
37.87 ms | 402 KiB | 8 Q