3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($a,$b) { $c=$a+$b; echo $c; } $this->a(1,2); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OpFjg
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   FETCH_THIS                                       $0      
          1        INIT_METHOD_CALL                                         $0, 'a'
          2        SEND_VAL_EX                                              1
          3        SEND_VAL_EX                                              2
          4        DO_FCALL                                      0          
    9     5      > RETURN                                                   1

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

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.06 ms | 1393 KiB | 13 Q