3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.46 ms | 1392 KiB | 13 Q