3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $a = <<<T server { listen 80; server_name www2.smxybbs.net; access_log /home/qwe7002/nginx.access.log; error_log /home/qwe7002/nginx.error.log; index index.php index.html index.htm; location / { sub_filter 'www1.smxybbs.net' 'www2.smxybbs.net'; sub_filter_once off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Referer http://www1.smxybbs.net; proxy_set_header Host www1.smxybbs.net; proxy_pass http://www1.smxybbs.net/; proxy_set_header Accept-Encoding ""; } } T; echo json_encode($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xkpr2
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $remote_addr, !2 = $proxy_add_x_forwarded_for
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ROPE_INIT                                     5  ~4      'server+%7B%0A++++listen+80%3B%0A++++%0A++++server_name+www2.smxybbs.net%3B%0A%0A++++access_log+%2Fhome%2Fqwe7002%2Fnginx.access.log%3B%0A++++error_log+%2Fhome%2Fqwe7002%2Fnginx.error.log%3B%0A%0A++++index+index.php+index.html+index.htm%3B%0A%0A++++location+%2F+%7B%0A++++++++sub_filter+%27www1.smxybbs.net%27+%27www2.smxybbs.net%27%3B%0A++++++++sub_filter_once+off%3B%0A++++++++proxy_set_header+X-Real-IP+'
   17     1        ROPE_ADD                                      1  ~4      ~4, !1
          2        ROPE_ADD                                      2  ~4      ~4, '%3B++%0A++++++++proxy_set_header+X-Forwarded-For+'
   18     3        ROPE_ADD                                      3  ~4      ~4, !2
          4        ROPE_END                                      4  ~3      ~4, '%3B++%0A++++++++proxy_set_header+Referer+http%3A%2F%2Fwww1.smxybbs.net%3B++%0A++++++++proxy_set_header+Host+www1.smxybbs.net%3B++%0A++++++++proxy_pass+http%3A%2F%2Fwww1.smxybbs.net%2F%3B%0A++++++++proxy_set_header+Accept-Encoding+%22%22%3B++%0A++++%7D%0A%7D'
    3     5        ASSIGN                                                   !0, ~3
   27     6        INIT_FCALL                                               'json_encode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $8      
          9        ECHO                                                     $8
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
213.46 ms | 1399 KiB | 15 Q