3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "Lorem ipsum shizzle ma nizle"; echo "\n\n\n"; for($i=-1;$i<=9;$i++) echo chunk_split(strtoupper(bin2hex(gzcompress($data,$i))),2," ") . PHP_EOL . PHP_EOL; echo "\n\n\n"; for($i=-1;$i<=9;$i++) echo chunk_split(strtoupper(bin2hex(gzdeflate($data,$i))),2," ") . PHP_EOL . PHP_EOL; echo "\n\n\n"; for($i=-1;$i<=9;$i++) echo chunk_split(strtoupper(bin2hex(gzencode($data,$i,FORCE_GZIP))),2," ") . PHP_EOL . PHP_EOL; echo "\n\n\n"; for($i=-1;$i<=9;$i++) echo chunk_split(strtoupper(bin2hex(gzencode($data,$i,FORCE_DEFLATE))),2," ") . PHP_EOL . PHP_EOL; echo "\n\n\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 4
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
2 jumps found. (Code = 44) Position 1 = 49, Position 2 = 28
Branch analysis from position: 49
1 jumps found. (Code = 42) Position 1 = 72
Branch analysis from position: 72
2 jumps found. (Code = 44) Position 1 = 74, Position 2 = 52
Branch analysis from position: 74
1 jumps found. (Code = 42) Position 1 = 97
Branch analysis from position: 97
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 77
Branch analysis from position: 99
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 77
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 77
Branch analysis from position: 99
Branch analysis from position: 77
Branch analysis from position: 52
2 jumps found. (Code = 44) Position 1 = 74, Position 2 = 52
Branch analysis from position: 74
Branch analysis from position: 52
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 49, Position 2 = 28
Branch analysis from position: 49
Branch analysis from position: 28
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 4
Branch analysis from position: 25
Branch analysis from position: 4
filename:       /in/1eStL
function name:  (null)
number of ops:  101
compiled vars:  !0 = $data, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Lorem+ipsum+shizzle+ma+nizle'
    4     1        ECHO                                                     '%0A%0A%0A'
    5     2        ASSIGN                                                   !1, -1
          3      > JMP                                                      ->23
    6     4    >   INIT_FCALL                                               'chunk_split'
          5        INIT_FCALL                                               'strtoupper'
          6        INIT_FCALL                                               'bin2hex'
          7        INIT_FCALL                                               'gzcompress'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                         $6      
         15        SEND_VAR                                                 $6
         16        SEND_VAL                                                 2
         17        SEND_VAL                                                 '+'
         18        DO_ICALL                                         $7      
         19        CONCAT                                           ~8      $7, '%0A'
         20        CONCAT                                           ~9      ~8, '%0A'
         21        ECHO                                                     ~9
    5    22        PRE_INC                                                  !1
         23    >   IS_SMALLER_OR_EQUAL                                      !1, 9
         24      > JMPNZ                                                    ~11, ->4
    7    25    >   ECHO                                                     '%0A%0A%0A'
    8    26        ASSIGN                                                   !1, -1
         27      > JMP                                                      ->47
    9    28    >   INIT_FCALL                                               'chunk_split'
         29        INIT_FCALL                                               'strtoupper'
         30        INIT_FCALL                                               'bin2hex'
         31        INIT_FCALL                                               'gzdeflate'
         32        SEND_VAR                                                 !0
         33        SEND_VAR                                                 !1
         34        DO_ICALL                                         $13     
         35        SEND_VAR                                                 $13
         36        DO_ICALL                                         $14     
         37        SEND_VAR                                                 $14
         38        DO_ICALL                                         $15     
         39        SEND_VAR                                                 $15
         40        SEND_VAL                                                 2
         41        SEND_VAL                                                 '+'
         42        DO_ICALL                                         $16     
         43        CONCAT                                           ~17     $16, '%0A'
         44        CONCAT                                           ~18     ~17, '%0A'
         45        ECHO                                                     ~18
    8    46        PRE_INC                                                  !1
         47    >   IS_SMALLER_OR_EQUAL                                      !1, 9
         48      > JMPNZ                                                    ~20, ->28
   10    49    >   ECHO                                                     '%0A%0A%0A'
   11    50        ASSIGN                                                   !1, -1
         51      > JMP                                                      ->72
   12    52    >   INIT_FCALL                                               'chunk_split'
         53        INIT_FCALL                                               'strtoupper'
         54        INIT_FCALL                                               'bin2hex'
         55        INIT_FCALL                                               'gzencode'
         56        SEND_VAR                                                 !0
         57        SEND_VAR                                                 !1
         58        SEND_VAL                                                 31
         59        DO_ICALL                                         $22     
         60        SEND_VAR                                                 $22
         61        DO_ICALL                                         $23     
         62        SEND_VAR                                                 $23
         63        DO_ICALL                                         $24     
         64        SEND_VAR                                                 $24
         65        SEND_VAL                                                 2
         66        SEND_VAL                                                 '+'
         67        DO_ICALL                                         $25     
         68        CONCAT                                           ~26     $25, '%0A'
         69        CONCAT                                           ~27     ~26, '%0A'
         70        ECHO                                                     ~27
   11    71        PRE_INC                                                  !1
         72    >   IS_SMALLER_OR_EQUAL                                      !1, 9
         73      > JMPNZ                                                    ~29, ->52
   13    74    >   ECHO                                                     '%0A%0A%0A'
   14    75        ASSIGN                                                   !1, -1
         76      > JMP                                                      ->97
   15    77    >   INIT_FCALL                                               'chunk_split'
         78        INIT_FCALL                                               'strtoupper'
         79        INIT_FCALL                                               'bin2hex'
         80        INIT_FCALL                                               'gzencode'
         81        SEND_VAR                                                 !0
         82        SEND_VAR                                                 !1
         83        SEND_VAL                                                 15
         84        DO_ICALL                                         $31     
         85        SEND_VAR                                                 $31
         86        DO_ICALL                                         $32     
         87        SEND_VAR                                                 $32
         88        DO_ICALL                                         $33     
         89        SEND_VAR                                                 $33
         90        SEND_VAL                                                 2
         91        SEND_VAL                                                 '+'
         92        DO_ICALL                                         $34     
         93        CONCAT                                           ~35     $34, '%0A'
         94        CONCAT                                           ~36     ~35, '%0A'
         95        ECHO                                                     ~36
   14    96        PRE_INC                                                  !1
         97    >   IS_SMALLER_OR_EQUAL                                      !1, 9
         98      > JMPNZ                                                    ~38, ->77
   16    99    >   ECHO                                                     '%0A%0A%0A'
        100      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.21 ms | 1404 KiB | 25 Q