3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = pack('C*',[1, 2, 3]); $d = pack('C*',[1, 2, 3]); echo $p&$d > 0 ? 't' : 'f';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rogHS
function name:  (null)
number of ops:  18
compiled vars:  !0 = $p, !1 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'pack'
          1        SEND_VAL                                                 'C%2A'
          2        SEND_VAL                                                 <array>
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'pack'
          6        SEND_VAL                                                 'C%2A'
          7        SEND_VAL                                                 <array>
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    6    10        IS_SMALLER                                       ~6      0, !1
         11        BW_AND                                           ~7      !0, ~6
         12      > JMPZ                                                     ~7, ->15
         13    >   QM_ASSIGN                                        ~8      't'
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~8      'f'
         16    >   ECHO                                                     ~8
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.28 ms | 1450 KiB | 14 Q