3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'This is a test'; $compressed1 = gzencode('This is a test'); $compressed = gzdecode($compressed1); echo '<br>'; for ($i=0; $i<strlen($compressed); $i++) { echo '['.$i.'] = '.ord($compressed[$i]).'<br>'; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 12
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 12
Branch analysis from position: 25
Branch analysis from position: 12
filename:       /in/keFaL
function name:  (null)
number of ops:  26
compiled vars:  !0 = $compressed1, !1 = $compressed, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'This+is+a+test'
    3     1        INIT_FCALL                                               'gzencode'
          2        SEND_VAL                                                 'This+is+a+test'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'gzdecode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    5     9        ECHO                                                     '%3Cbr%3E'
    6    10        ASSIGN                                                   !2, 0
         11      > JMP                                                      ->22
    7    12    >   CONCAT                                           ~8      '%5B', !2
         13        CONCAT                                           ~9      ~8, '%5D+%3D+'
         14        INIT_FCALL                                               'ord'
         15        FETCH_DIM_R                                      ~10     !1, !2
         16        SEND_VAL                                                 ~10
         17        DO_ICALL                                         $11     
         18        CONCAT                                           ~12     ~9, $11
         19        CONCAT                                           ~13     ~12, '%3Cbr%3E'
         20        ECHO                                                     ~13
    6    21        PRE_INC                                                  !2
         22    >   STRLEN                                           ~15     !1
         23        IS_SMALLER                                               !2, ~15
         24      > JMPNZ                                                    ~16, ->12
    9    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.46 ms | 1400 KiB | 19 Q