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 = 46) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 46) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 14
2 jumps found. (Code = 46) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
Branch analysis from position: 26
Branch analysis from position: 11
filename:       /in/0U5ns
function name:  (null)
number of ops:  35
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      > JMPZ_EX                                          ~8      !0, ->11
          9    >   IS_EQUAL                                         ~9      !1, !1
         10        BOOL                                             ~8      ~9
         11    > > JMPZ                                                     ~8, ->14
         12    >   QM_ASSIGN                                        ~10     <true>
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~10     <false>
         15    >   ASSIGN                                                   !2, ~10
    9    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
   11    19        INIT_FCALL                                               'bindec'
         20        SEND_VAL                                                 '010'
         21        DO_ICALL                                         $13     
         22        ASSIGN                                                   !3, $13
   12    23      > JMPZ_EX                                          ~15     !0, ->26
         24    >   IS_EQUAL                                         ~16     !3, !3
         25        BOOL                                             ~15     ~16
         26    > > JMPZ                                                     ~15, ->29
         27    >   QM_ASSIGN                                        ~17     <true>
         28      > JMP                                                      ->30
         29    >   QM_ASSIGN                                        ~17     <false>
         30    >   ASSIGN                                                   !2, ~17
   14    31        INIT_FCALL                                               'var_dump'
         32        SEND_VAR                                                 !2
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1392 KiB | 17 Q