3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 7.0.0 - 7.1.0
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 30 "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 \/data\/;\n }\n \n location ~ ^\/thumbnails\/.*$ {\n try_files \/data\/;\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 \/public\/ \/index.php;\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}"
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: uri in /in/um5i0 on line 40 Notice: Undefined variable: uri in /in/um5i0 on line 40 Notice: Undefined variable: uri in /in/um5i0 on line 40 Notice: Undefined variable: uri in /in/um5i0 on line 40 Notice: Undefined variable: uri in /in/um5i0 on line 40 Notice: Undefined variable: uri in /in/um5i0 on line 40 Notice: Undefined variable: is_args in /in/um5i0 on line 40 Notice: Undefined variable: args in /in/um5i0 on line 40 "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 \/data\/;\n }\n \n location ~ ^\/thumbnails\/.*$ {\n try_files \/data\/;\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 \/public\/ \/index.php;\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}"
Output for 5.2.3 - 5.6.28
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 39 "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 \/data\/;\n }\n \n location ~ ^\/thumbnails\/.*$ {\n try_files \/data\/;\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 \/public\/ \/index.php;\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}"
Output for 5.2.0 - 5.2.2
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 "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 \/data\/;\n }\n \n location ~ ^\/thumbnails\/.*$ {\n try_files \/data\/;\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 \/public\/ \/index.php;\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}"
Output for 5.0.4 - 5.1.1, 5.1.3 - 5.1.6
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function json_encode() in /in/um5i0 on line 42
Process exited with code 255.
Output for 5.1.2
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function json_encode() in /in/um5i0 on line 43
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function json_encode() in /in/um5i0 on line 42
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function: json_encode() in /in/um5i0 on line 42
Process exited with code 255.
Output for 4.3.2 - 4.4.1, 4.4.3 - 4.4.4
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function: json_encode() in /in/um5i0 on line 42
Process exited with code 255.
Output for 4.4.2
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function: json_encode() in /in/um5i0 on line 43
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: uri in /in/um5i0 on line 17 Notice: Undefined variable: uri in /in/um5i0 on line 18 Notice: Undefined variable: uri in /in/um5i0 on line 21 Notice: Undefined variable: uri in /in/um5i0 on line 22 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: uri in /in/um5i0 on line 30 Notice: Undefined variable: is_args in /in/um5i0 on line 30 Notice: Undefined variable: args in /in/um5i0 on line 31 Fatal error: Call to undefined function: json_encode() in /in/um5i0 on line 42