3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'This is a test'; $compressed = gzcompress('This is a test'); 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 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 8
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 8
Branch analysis from position: 21
Branch analysis from position: 8
filename:       /in/joK1n
function name:  (null)
number of ops:  22
compiled vars:  !0 = $compressed, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'This+is+a+test'
    3     1        INIT_FCALL                                               'gzcompress'
          2        SEND_VAL                                                 'This+is+a+test'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        ECHO                                                     '%3Cbr%3E'
    5     6        ASSIGN                                                   !1, 0
          7      > JMP                                                      ->18
    6     8    >   CONCAT                                           ~5      '%5B', !1
          9        CONCAT                                           ~6      ~5, '%5D+%3D+'
         10        INIT_FCALL                                               'ord'
         11        FETCH_DIM_R                                      ~7      !0, !1
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                         $8      
         14        CONCAT                                           ~9      ~6, $8
         15        CONCAT                                           ~10     ~9, '%3Cbr%3E'
         16        ECHO                                                     ~10
    5    17        PRE_INC                                                  !1
         18    >   STRLEN                                           ~12     !0
         19        IS_SMALLER                                               !1, ~12
         20      > JMPNZ                                                    ~13, ->8
    8    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.82 ms | 1395 KiB | 17 Q