3v4l.org

run code in 300+ 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 = 44
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 11
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 11
Branch analysis from position: 46
Branch analysis from position: 11
filename:       /in/WpAvk
function name:  (null)
number of ops:  47
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        INIT_FCALL                                               'min'
          3        STRLEN                                           ~9      !0
          4        SEND_VAL                                                 ~9
          5        STRLEN                                           ~10     !1
          6        SEND_VAL                                                 ~10
          7        DO_ICALL                                         $11     
          8        ASSIGN                                                   !2, $11
    5     9        ASSIGN                                                   !3, 0
         10      > JMP                                                      ->44
    7    11    >   INIT_FCALL                                               'ord'
         12        FETCH_DIM_R                                      ~14     !0, !3
         13        SEND_VAL                                                 ~14
         14        DO_ICALL                                         $15     
         15        ASSIGN                                                   !4, $15
    8    16        INIT_FCALL                                               'ord'
         17        FETCH_DIM_R                                      ~17     !1, !3
         18        SEND_VAL                                                 ~17
         19        DO_ICALL                                         $18     
         20        ASSIGN                                                   !5, $18
    9    21        INIT_FCALL                                               'chr'
         22        BW_XOR                                           ~20     !4, !5
         23        SEND_VAL                                                 ~20
         24        DO_ICALL                                         $21     
         25        ASSIGN                                                   !6, $21
   10    26        FETCH_DIM_R                                      ~23     !0, !3
         27        CONCAT                                           ~24     ~23, '+%5E+'
         28        FETCH_DIM_R                                      ~25     !1, !3
         29        CONCAT                                           ~26     ~24, ~25
         30        ROPE_INIT                                     5  ~28     '+%3D+'
         31        ROPE_ADD                                      1  ~28     ~28, !4
         32        ROPE_ADD                                      2  ~28     ~28, '+%5E+'
         33        ROPE_ADD                                      3  ~28     ~28, !5
         34        ROPE_END                                      4  ~27     ~28, '+%3D+'
         35        CONCAT                                           ~31     ~26, ~27
         36        BW_XOR                                           ~32     !4, !5
         37        CONCAT                                           ~33     ~31, ~32
         38        ROPE_INIT                                     3  ~35     '+%3D+'
         39        ROPE_ADD                                      1  ~35     ~35, !6
         40        ROPE_END                                      2  ~34     ~35, '%0A'
         41        CONCAT                                           ~37     ~33, ~34
         42        ECHO                                                     ~37
    5    43        PRE_INC                                                  !3
         44    >   IS_SMALLER                                               !3, !2
         45      > JMPNZ                                                    ~39, ->11
   11    46    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
291.08 ms | 1017 KiB | 16 Q