3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'vmiac'; echo $data; $compressed = gzcompress($data); echo "\n\rgzip=["; $length = strlen($compressed); for ($i = 0; $i < $length; $i++) { if ($i == $length - 1) echo ord($compressed[$i])."]"; else echo ord($compressed[$i]).", "; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 11
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 21
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 11
Branch analysis from position: 30
Branch analysis from position: 11
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 11
Branch analysis from position: 30
Branch analysis from position: 11
filename:       /in/J1Hao
function name:  (null)
number of ops:  31
compiled vars:  !0 = $data, !1 = $compressed, !2 = $length, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'vmiac'
    3     1        ECHO                                                     !0
    4     2        INIT_FCALL                                               'gzcompress'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    5     6        ECHO                                                     '%0A%0Dgzip%3D%5B'
    6     7        STRLEN                                           ~7      !1
          8        ASSIGN                                                   !2, ~7
    7     9        ASSIGN                                                   !3, 0
         10      > JMP                                                      ->28
    8    11    >   SUB                                              ~10     !2, 1
         12        IS_EQUAL                                                 !3, ~10
         13      > JMPZ                                                     ~11, ->21
    9    14    >   INIT_FCALL                                               'ord'
         15        FETCH_DIM_R                                      ~12     !1, !3
         16        SEND_VAL                                                 ~12
         17        DO_ICALL                                         $13     
         18        CONCAT                                           ~14     $13, '%5D'
         19        ECHO                                                     ~14
         20      > JMP                                                      ->27
   11    21    >   INIT_FCALL                                               'ord'
         22        FETCH_DIM_R                                      ~15     !1, !3
         23        SEND_VAL                                                 ~15
         24        DO_ICALL                                         $16     
         25        CONCAT                                           ~17     $16, '%2C+'
         26        ECHO                                                     ~17
    7    27    >   PRE_INC                                                  !3
         28    >   IS_SMALLER                                               !3, !2
         29      > JMPNZ                                                    ~19, ->11
   13    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161 ms | 1396 KiB | 17 Q