3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $m = bindec('101'); $t = bindec('100'); $r = (($m & $t == $t) ? true : false); var_dump($r); $t2 = bindec('010'); $r = ((($m & $t2) == $t2) ? true : false); var_dump($r);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 27
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 27
Branch analysis from position: 25
Branch analysis from position: 27
filename:       /in/29abf
function name:  (null)
number of ops:  33
compiled vars:  !0 = $m, !1 = $t, !2 = $r, !3 = $t2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'bindec'
          1        SEND_VAL                                                 '101'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    6     4        INIT_FCALL                                               'bindec'
          5        SEND_VAL                                                 '100'
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
    7     8        IS_EQUAL                                         ~8      !1, !1
          9        BW_AND                                           ~9      !0, ~8
         10      > JMPZ                                                     ~9, ->13
         11    >   QM_ASSIGN                                        ~10     <true>
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~10     <false>
         14    >   ASSIGN                                                   !2, ~10
    9    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
   11    18        INIT_FCALL                                               'bindec'
         19        SEND_VAL                                                 '010'
         20        DO_ICALL                                         $13     
         21        ASSIGN                                                   !3, $13
   12    22        BW_AND                                           ~15     !0, !3
         23        IS_EQUAL                                                 !3, ~15
         24      > JMPZ                                                     ~16, ->27
         25    >   QM_ASSIGN                                        ~17     <true>
         26      > JMP                                                      ->28
         27    >   QM_ASSIGN                                        ~17     <false>
         28    >   ASSIGN                                                   !2, ~17
   14    29        INIT_FCALL                                               'var_dump'
         30        SEND_VAR                                                 !2
         31        DO_ICALL                                                 
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.33 ms | 1388 KiB | 17 Q