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 $a => $w) { $y[$a] = 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 = 40
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 40
Branch analysis from position: 9
2 jumps found. (Code = 77) Position 1 = 25, Position 2 = 33
Branch analysis from position: 25
2 jumps found. (Code = 78) Position 1 = 26, Position 2 = 33
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 33
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
filename:       /in/XTvkW
function name:  (null)
number of ops:  43
compiled vars:  !0 = $z, !1 = $x, !2 = $l, !3 = $y, !4 = $w, !5 = $a
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                                         $7      
          5        ASSIGN                                                   !1, $7
    4     6        ASSIGN                                                   !2, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ012345'
    5     7      > FE_RESET_R                                       $10     !1, ->40
          8    > > FE_FETCH_R                                               $10, !3, ->40
    6     9    >   INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'str_split'
         11        INIT_FCALL                                               'strrev'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                         $11     
         14        SEND_VAR                                                 $11
         15        DO_ICALL                                         $12     
         16        SEND_VAR                                                 $12
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'str_split'
         19        INIT_FCALL                                               'strrev'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                         $14     
         22        SEND_VAR                                                 $14
         23        DO_ICALL                                         $15     
         24      > FE_RESET_R                                       $16     $15, ->33
         25    > > FE_FETCH_R                                       ~17     $16, !4, ->33
         26    >   ASSIGN                                                   !5, ~17
    8    27        INIT_FCALL                                               'ctype_upper'
         28        SEND_VAR                                                 !4
         29        DO_ICALL                                         $20     
         30        ASSIGN_DIM                                               !3, !5
         31        OP_DATA                                                  $20
    7    32      > JMP                                                      ->25
         33    >   FE_FREE                                                  $16
   10    34        INIT_FCALL                                               'bindec'
         35        SEND_VAR                                                 !3
         36        DO_ICALL                                         $21     
         37        FETCH_DIM_R                                      ~22     !2, $21
         38        ASSIGN_OP                                     8          !0, ~22
    5    39      > JMP                                                      ->8
         40    >   FE_FREE                                                  $10
   12    41        ECHO                                                     !0
         42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.84 ms | 1405 KiB | 23 Q