3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.6 ms | 1384 KiB | 13 Q