3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str1="BeeABBeeoBodBaBdOdPQBBgDQgDdp"; $str2="\n\n\t8b\n\n\t\nb&\nb b \n%%nb%%%\n%\nQ"; $len=min(strlen($str1),strlen($str2)); for($i=0;$i<$len;$i++) { $ord1=ord($str1[$i]); $ord2=ord($str2[$i]); $cha=chr($ord1 ^ $ord2); echo $str1[$i].' ^ '.$str2[$i]." = {$ord1} ^ {$ord2} = ".($ord1 ^ $ord2)." = {$cha}\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 41
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 43, Position 2 = 8
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 43, Position 2 = 8
Branch analysis from position: 43
Branch analysis from position: 8
filename:       /in/WpAvk
function name:  (null)
number of ops:  44
compiled vars:  !0 = $str1, !1 = $str2, !2 = $len, !3 = $i, !4 = $ord1, !5 = $ord2, !6 = $cha
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'BeeABBeeoBodBaBdOdPQBBgDQgDdp'
    3     1        ASSIGN                                                       !1, '%0A%0A%098b%0A%0A%09%0Ab%26%0Ab+b++%0A%25%25nb%25%25%25%0A%25%0AQ'
    4     2        STRLEN                                               ~9      !0
          3        STRLEN                                               ~10     !1
          4        FRAMELESS_ICALL_2                min                 ~11     ~9, ~10
          5        ASSIGN                                                       !2, ~11
    5     6        ASSIGN                                                       !3, 0
          7      > JMP                                                          ->41
    7     8    >   INIT_FCALL                                                   'ord'
          9        FETCH_DIM_R                                          ~14     !0, !3
         10        SEND_VAL                                                     ~14
         11        DO_ICALL                                             $15     
         12        ASSIGN                                                       !4, $15
    8    13        INIT_FCALL                                                   'ord'
         14        FETCH_DIM_R                                          ~17     !1, !3
         15        SEND_VAL                                                     ~17
         16        DO_ICALL                                             $18     
         17        ASSIGN                                                       !5, $18
    9    18        INIT_FCALL                                                   'chr'
         19        BW_XOR                                               ~20     !4, !5
         20        SEND_VAL                                                     ~20
         21        DO_ICALL                                             $21     
         22        ASSIGN                                                       !6, $21
   10    23        FETCH_DIM_R                                          ~23     !0, !3
         24        CONCAT                                               ~24     ~23, '+%5E+'
         25        FETCH_DIM_R                                          ~25     !1, !3
         26        CONCAT                                               ~26     ~24, ~25
         27        ROPE_INIT                                         5  ~28     '+%3D+'
         28        ROPE_ADD                                          1  ~28     ~28, !4
         29        ROPE_ADD                                          2  ~28     ~28, '+%5E+'
         30        ROPE_ADD                                          3  ~28     ~28, !5
         31        ROPE_END                                          4  ~27     ~28, '+%3D+'
         32        CONCAT                                               ~31     ~26, ~27
         33        BW_XOR                                               ~32     !4, !5
         34        CONCAT                                               ~33     ~31, ~32
         35        ROPE_INIT                                         3  ~35     '+%3D+'
         36        ROPE_ADD                                          1  ~35     ~35, !6
         37        ROPE_END                                          2  ~34     ~35, '%0A'
         38        CONCAT                                               ~37     ~33, ~34
         39        ECHO                                                         ~37
    5    40        PRE_INC                                                      !3
         41    >   IS_SMALLER                                                   !3, !2
         42      > JMPNZ                                                        ~39, ->8
   11    43    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
184.97 ms | 3744 KiB | 15 Q