3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f($a, $k) { $b = $a; return $b === $a; }; $a = 12; $b = 12; echo f($a, $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FZJbq
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, 12
   10     1        ASSIGN                                                   !1, 12
   12     2        INIT_FCALL                                               'f'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FZJbq
function name:  f
number of ops:  6
compiled vars:  !0 = $a, !1 = $k, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2        ASSIGN                                                   !2, !0
    6     3        IS_IDENTICAL                                     ~4      !2, !0
          4      > RETURN                                                   ~4
    7     5*     > RETURN                                                   null

End of function f

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.05 ms | 1397 KiB | 14 Q