3v4l.org

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

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l3KMS
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:
151.98 ms | 1397 KiB | 14 Q