3v4l.org

run code in 300+ PHP versions simultaneously
<?php $logs = <<<LOGS /connect=;;41.26.162.36;;192.168.0.100;;8081;; /connect=;;98.250.16.76;;192.168.0.24;;8080;; /connect=;;216.152.60.12;;192.168.1.103;;8090;; /connect=;;91.11.65.110;;192.168.1.3;;8081;; LOGS; foreach(explode(PHP_EOL, $logs) as $line) { sscanf($line, "/connect=;;%[^;];;%[^;];;%d;;", $ip1, $ip2, $port); var_export( [$ip1, $ip2, $port] ); echo "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 22
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 22
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/Yt88o
function name:  (null)
number of ops:  24
compiled vars:  !0 = $logs, !1 = $line, !2 = $ip1, !3 = $ip2, !4 = $port
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Fconnect%3D%3B%3B41.26.162.36%3B%3B192.168.0.100%3B%3B8081%3B%3B%0A%2Fconnect%3D%3B%3B98.250.16.76%3B%3B192.168.0.24%3B%3B8080%3B%3B%0A%2Fconnect%3D%3B%3B216.152.60.12%3B%3B192.168.1.103%3B%3B8090%3B%3B%0A%2Fconnect%3D%3B%3B91.11.65.110%3B%3B192.168.1.3%3B%3B8081%3B%3B'
   10     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $6      
          5      > FE_RESET_R                                       $7      $6, ->22
          6    > > FE_FETCH_R                                               $7, !1, ->22
   11     7    >   INIT_FCALL                                               'sscanf'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 '%2Fconnect%3D%3B%3B%25%5B%5E%3B%5D%3B%3B%25%5B%5E%3B%5D%3B%3B%25d%3B%3B'
         10        SEND_REF                                                 !2
         11        SEND_REF                                                 !3
         12        SEND_REF                                                 !4
         13        DO_ICALL                                                 
   12    14        INIT_FCALL                                               'var_export'
   13    15        INIT_ARRAY                                       ~9      !2
         16        ADD_ARRAY_ELEMENT                                ~9      !3
         17        ADD_ARRAY_ELEMENT                                ~9      !4
         18        SEND_VAL                                                 ~9
   12    19        DO_ICALL                                                 
   15    20        ECHO                                                     '%0A'
   10    21      > JMP                                                      ->6
         22    >   FE_FREE                                                  $7
   16    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.19 ms | 1012 KiB | 16 Q