3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = imagecreatefromjpeg('http://logicnet.dk/Analyzer/help/Lenna.jpg'); $msg = ''; $msgchar = 0; for($i=0;$i<8;$i+=8) { $msgchar = (($msgchar << 1) | (1 & imagecolorat($img, $i , 0))); if(($i+8) % 64 == 0) { $msg .= chr($msgchar); $msgchar = 0; } } echo $msg;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 8
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 26
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 8
Branch analysis from position: 29
Branch analysis from position: 8
Branch analysis from position: 26
filename:       /in/BkOlP
function name:  (null)
number of ops:  31
compiled vars:  !0 = $img, !1 = $msg, !2 = $msgchar, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'imagecreatefromjpeg'
          1        SEND_VAL_EX                                              'http%3A%2F%2Flogicnet.dk%2FAnalyzer%2Fhelp%2FLenna.jpg'
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !0, $4
    3     4        ASSIGN                                                   !1, ''
    4     5        ASSIGN                                                   !2, 0
    5     6        ASSIGN                                                   !3, 0
          7      > JMP                                                      ->27
    7     8    >   SL                                               ~9      !2, 1
          9        INIT_FCALL_BY_NAME                                       'imagecolorat'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !3
         12        SEND_VAL_EX                                              0
         13        DO_FCALL                                      0  $10     
         14        BW_AND                                           ~11     $10, 1
         15        BW_OR                                            ~12     ~9, ~11
         16        ASSIGN                                                   !2, ~12
    8    17        ADD                                              ~14     !3, 8
         18        MOD                                              ~15     ~14, 64
         19        IS_EQUAL                                                 ~15, 0
         20      > JMPZ                                                     ~16, ->26
   10    21    >   INIT_FCALL                                               'chr'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                         $17     
         24        ASSIGN_OP                                     8          !1, $17
   11    25        ASSIGN                                                   !2, 0
    5    26    >   ASSIGN_OP                                     1          !3, 8
         27    >   IS_SMALLER                                               !3, 8
         28      > JMPNZ                                                    ~21, ->8
   14    29    >   ECHO                                                     !1
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.92 ms | 1396 KiB | 15 Q