3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = <<< TEXT server { server_name jyprince.me root /home/jybox/blog; rewrite /wp-admin$ $scheme://\$host\$uri/ permanent; location / { try_files \$uri \$uri/ /index.php?\$args; } location ~* ^.+\.(|jpg|jpeg|gif|png|ico|zip)$ { access_log off; log_not_found off; expires max; } } TEXT; echo json_encode(["nginxextconfig" => $a]);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $scheme in /in/tDDNN on line 7 {"nginxextconfig":"server {\n server_name jyprince.me\n root \/home\/jybox\/blog;\n rewrite \/wp-admin$ :\/\/$host$uri\/ permanent;\n\n location \/ {\n try_files $uri $uri\/ \/index.php?$args;\n }\n location ~* ^.+\\.(|jpg|jpeg|gif|png|ico|zip)$ {\n access_log off; log_not_found off; expires max;\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:
45.24 ms | 402 KiB | 8 Q