3v4l.org

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

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

End of function test_1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.94 ms | 1388 KiB | 14 Q