3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f1() { echo 1; return true; } function f2() { echo 2; return false; } $a = true; $a = f1() & f2(); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CS6A0
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   ASSIGN                                                   !0, <true>
   14     1        INIT_FCALL                                               'f1'
          2        DO_FCALL                                      0  $2      
          3        INIT_FCALL                                               'f2'
          4        DO_FCALL                                      0  $3      
          5        BW_AND                                           ~4      $2, $3
          6        ASSIGN                                                   !0, ~4
   16     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Function f1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CS6A0
function name:  f1
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     1
    5     1      > RETURN                                                   <true>
    6     2*     > RETURN                                                   null

End of function f1

Function f2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CS6A0
function name:  f2
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     2
   10     1      > RETURN                                                   <false>
   11     2*     > RETURN                                                   null

End of function f2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.76 ms | 1397 KiB | 17 Q