3v4l.org

run code in 300+ PHP versions simultaneously
<?php $z = "hejsanhejsan";//$argv[1]; $x = str_split($z, 5); $l = "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345"; foreach ($x as $y) { var_dump(str_split(strrev($y))); foreach (str_split(strrev($y)) as $w) { $y[] = ctype_upper($w); } $z .= $l[bindec($y)]; } echo $z;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 39
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 39
Branch analysis from position: 9
2 jumps found. (Code = 77) Position 1 = 25, Position 2 = 32
Branch analysis from position: 25
2 jumps found. (Code = 78) Position 1 = 26, Position 2 = 32
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 32
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
filename:       /in/Xpvkc
function name:  (null)
number of ops:  42
compiled vars:  !0 = $z, !1 = $x, !2 = $l, !3 = $y, !4 = $w
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hejsanhejsan'
    3     1        INIT_FCALL                                               'str_split'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 5
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    4     6        ASSIGN                                                   !2, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ012345'
    5     7      > FE_RESET_R                                       $9      !1, ->39
          8    > > FE_FETCH_R                                               $9, !3, ->39
    6     9    >   INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'str_split'
         11        INIT_FCALL                                               'strrev'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                         $10     
         14        SEND_VAR                                                 $10
         15        DO_ICALL                                         $11     
         16        SEND_VAR                                                 $11
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'str_split'
         19        INIT_FCALL                                               'strrev'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                         $13     
         22        SEND_VAR                                                 $13
         23        DO_ICALL                                         $14     
         24      > FE_RESET_R                                       $15     $14, ->32
         25    > > FE_FETCH_R                                               $15, !4, ->32
    8    26    >   INIT_FCALL                                               'ctype_upper'
         27        SEND_VAR                                                 !4
         28        DO_ICALL                                         $17     
         29        ASSIGN_DIM                                               !3
         30        OP_DATA                                                  $17
    7    31      > JMP                                                      ->25
         32    >   FE_FREE                                                  $15
   10    33        INIT_FCALL                                               'bindec'
         34        SEND_VAR                                                 !3
         35        DO_ICALL                                         $18     
         36        FETCH_DIM_R                                      ~19     !2, $18
         37        ASSIGN_OP                                     8          !0, ~19
    5    38      > JMP                                                      ->8
         39    >   FE_FREE                                                  $9
   12    40        ECHO                                                     !0
         41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
217.68 ms | 945 KiB | 24 Q