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;
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 = 62) Position 1 = -2
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/Ik4Rv
function name:  (null)
number of ops:  26
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
    6    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.16 ms | 1395 KiB | 21 Q