3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f($̀,$́){$̂=$̀;$̃=$̀[$́];$̂[$́]=!$̃;$̄=$̃!==$̀[$́];$̀[$́]=$̃;return$̄;} var_dump(f (1,2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RBn4c
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'f'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 2
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RBn4c
function name:  f
number of ops:  15
compiled vars:  !0 = $̀, !1 = $́, !2 = $̂, !3 = $̃, !4 = $̄
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        ASSIGN                                                   !2, !0
          3        FETCH_DIM_R                                      ~6      !0, !1
          4        ASSIGN                                                   !3, ~6
          5        BOOL_NOT                                         ~9      !3
          6        ASSIGN_DIM                                               !2, !1
          7        OP_DATA                                                  ~9
          8        FETCH_DIM_R                                      ~10     !0, !1
          9        IS_NOT_IDENTICAL                                 ~11     !3, ~10
         10        ASSIGN                                                   !4, ~11
         11        ASSIGN_DIM                                               !0, !1
         12        OP_DATA                                                  !3
         13      > RETURN                                                   !4
         14*     > RETURN                                                   null

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.6 ms | 1398 KiB | 16 Q