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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/um5i0
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a, !1 = $uri, !2 = $is_args, !3 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ROPE_INIT                                    16  ~5      'server+%7B%0A++++listen+80%3B%0A++++server_name+reader.wogong.net%3B%0A++++root+%2Fhome%2Fwogong%2Fselfoss%2F%3B%0A++++%0A++++access_log+%2Fhome%2Fwogong%2Flog%2Fselfoss.access.log%3B%0A++++error_log+%2Fhome%2Fwogong%2Flog%2Fselfoss.error.log%3B%0A++++%0A++++location+%7E%2A+%5C+%28gif%7Cjpg%7Cpng%29+%7B%0A++++++++expires+30d%3B%0A++++%7D%0A++++%0A++++location+%7E+%5E%2Ffavicons%2F.%2A%24+%7B%0A++++++++try_files+'
   17     1        ROPE_ADD                                      1  ~5      ~5, !1
          2        ROPE_ADD                                      2  ~5      ~5, '+%2Fdata%2F'
          3        ROPE_ADD                                      3  ~5      ~5, !1
          4        ROPE_ADD                                      4  ~5      ~5, '%3B%0A++++%7D%0A++++%0A++++location+%7E+%5E%2Fthumbnails%2F.%2A%24+%7B%0A++++++++try_files+'
   21     5        ROPE_ADD                                      5  ~5      ~5, !1
          6        ROPE_ADD                                      6  ~5      ~5, '+%2Fdata%2F'
          7        ROPE_ADD                                      7  ~5      ~5, !1
          8        ROPE_ADD                                      8  ~5      ~5, '%3B%0A++++%7D%0A++++%0A++++location+%7E%2A+%5E%2F%28data%5C%2Flogs%7Cdata%5C%2Fsqlite%7Cconfig%5C.ini%7C%5C.ht%29+%7B%0A++++++++deny+all%3B%0A++++%7D%0A++++%0A++++location+%2F+%7B%0A++++++++index+index.php+index.html+index.htm%3B%0A++++++++try_files+'
   30     9        ROPE_ADD                                      9  ~5      ~5, !1
         10        ROPE_ADD                                     10  ~5      ~5, '+%2Fpublic%2F'
         11        ROPE_ADD                                     11  ~5      ~5, !1
         12        ROPE_ADD                                     12  ~5      ~5, '+%2Findex.php'
         13        ROPE_ADD                                     13  ~5      ~5, !2
         14        ROPE_ADD                                     14  ~5      ~5, !3
         15        ROPE_END                                     15  ~4      ~5, '%3B%0A++++%7D%0A++++%0A++++location+%7E+%5C.php%24+%7B%0A++++++++fastcgi_pass+unix%3A%2Ftmp%2Fwogong-fpm.sock%3B%0A++++++++%0A++++++++fastcgi_index+index.php%3B%0A++++++++include+fastcgi_params%3B%0A++++%7D%0A%7D'
    3    16        ASSIGN                                                   !0, ~4
   42    17        INIT_FCALL                                               'json_encode'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $14     
         20        ECHO                                                     $14
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.69 ms | 1388 KiB | 15 Q