3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lxc_info = "Name: wightcrm State: RUNNING PID: 18416 IP: 10.0.3.48 CPU use: 2464710238833 BlkIO use: 4607229952 Memory use: 389132288 KMem use: 0 Link: veth6KBEER TX bytes: 920260588 RX bytes: 166798199 Total bytes: 1087058787"; $info = explode("\n", $lxc_info); foreach ($info as $item) { $item = array_map('trim', explode(':', $item)); $item = array($item[0] => $item[1]); $c = $item; } print_r($c);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 23
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 23
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/VPqlH
function name:  (null)
number of ops:  28
compiled vars:  !0 = $lxc_info, !1 = $info, !2 = $item, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Name%3A+++++++++++wightcrm%0AState%3A++++++++++RUNNING%0APID%3A++++++++++++18416%0AIP%3A+++++++++++++10.0.3.48%0ACPU+use%3A++++++++2464710238833%0ABlkIO+use%3A++++++4607229952%0AMemory+use%3A+++++389132288%0AKMem+use%3A+++++++0%0ALink%3A+++++++++++veth6KBEER%0A+TX+bytes%3A++++++920260588%0A+RX+bytes%3A++++++166798199%0A+Total+bytes%3A+++1087058787'
   16     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
   17     6      > FE_RESET_R                                       $7      !1, ->23
          7    > > FE_FETCH_R                                               $7, !2, ->23
   18     8    >   INIT_FCALL                                               'array_map'
          9        SEND_VAL                                                 'trim'
         10        INIT_FCALL                                               'explode'
         11        SEND_VAL                                                 '%3A'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $8      
         14        SEND_VAR                                                 $8
         15        DO_ICALL                                         $9      
         16        ASSIGN                                                   !2, $9
   19    17        FETCH_DIM_R                                      ~11     !2, 0
         18        FETCH_DIM_R                                      ~12     !2, 1
         19        INIT_ARRAY                                       ~13     ~12, ~11
         20        ASSIGN                                                   !2, ~13
   20    21        ASSIGN                                                   !3, !2
   17    22      > JMP                                                      ->7
         23    >   FE_FREE                                                  $7
   23    24        INIT_FCALL                                               'print_r'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.28 ms | 1401 KiB | 19 Q