3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = imagecreatefromjpeg('http://logicnet.dk/Analyzer/help/Lenna.jpg'); for($i=0;$i<64;$i+=8) { $msgchar = 5; if(($i+8) % $img.rowlength == 0) { $msg .= chr($msgchar); $msgchar = 0; } } echo $msg;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 6
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 6
Branch analysis from position: 21
Branch analysis from position: 6
Branch analysis from position: 18
filename:       /in/d2JZg
function name:  (null)
number of ops:  23
compiled vars:  !0 = $img, !1 = $i, !2 = $msgchar, !3 = $msg
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, 0
          5      > JMP                                                      ->19
    5     6    >   ASSIGN                                                   !2, 5
    6     7        ADD                                              ~8      !1, 8
          8        MOD                                              ~9      ~8, !0
          9        FETCH_CONSTANT                                   ~10     'rowlength'
         10        CONCAT                                           ~11     ~9, ~10
         11        IS_EQUAL                                                 ~11, 0
         12      > JMPZ                                                     ~12, ->18
    8    13    >   INIT_FCALL                                               'chr'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $13     
         16        ASSIGN_OP                                     8          !3, $13
    9    17        ASSIGN                                                   !2, 0
    3    18    >   ASSIGN_OP                                     1          !1, 8
         19    >   IS_SMALLER                                               !1, 64
         20      > JMPNZ                                                    ~17, ->6
   12    21    >   ECHO                                                     !3
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.31 ms | 1395 KiB | 15 Q