3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = <<< TEXT server { listen 80; server_name blog.kochiya.me; access_log /home/AprocySanae/nginx.access.log; error_log /home/AprocySanae/nginx.error.log; location / { root /home/AprocySanae/web; } # index rewrite /$ /www/page_0.html; rewrite /index\..* /www/page_0.html; # archive rewrite /archive\..* /www/archive.html; # tags rewrite /tags\..* /www/tags.html; # about_me rewrite /about_me\..* /www/about_me.html; # links rewrite /links\..* /www/links.html; error_page 404 /themes/404.html; } TEXT; echo json_encode($a);
Output for git.master, git.master_jit, rfc.property-hooks
"server\n{\n listen 80;\n server_name blog.kochiya.me;\n \n access_log \/home\/AprocySanae\/nginx.access.log;\n error_log \/home\/AprocySanae\/nginx.error.log;\n\n location \/ {\n root \/home\/AprocySanae\/web;\n }\n\n # index\n rewrite \/$ \/www\/page_0.html;\n rewrite \/index\\..* \/www\/page_0.html;\n # archive\n rewrite \/archive\\..* \/www\/archive.html;\n # tags\n rewrite \/tags\\..* \/www\/tags.html;\n # about_me\n rewrite \/about_me\\..* \/www\/about_me.html;\n # links\n rewrite \/links\\..* \/www\/links.html;\n\n error_page 404 \/themes\/404.html;\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:
36.19 ms | 402 KiB | 8 Q