3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num1 = 10; $num2 = 5; $result = num1 + num2; echo $result; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DBInB
function name:  (null)
number of ops:  8
compiled vars:  !0 = $num1, !1 = $num2, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
    3     1        ASSIGN                                                   !1, 5
    4     2        FETCH_CONSTANT                                   ~5      'num1'
          3        FETCH_CONSTANT                                   ~6      'num2'
          4        ADD                                              ~7      ~5, ~6
          5        ASSIGN                                                   !2, ~7
    5     6        ECHO                                                     !2
    7     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.76 ms | 1392 KiB | 13 Q