3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 3; $b = 5; $a = $a+$b; $b = $a-$b; $a = $a-$b; echo "a = $a; b = $b";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dsBvh
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 3
    4     1        ASSIGN                                                   !1, 5
    6     2        ADD                                              ~4      !0, !1
          3        ASSIGN                                                   !0, ~4
    7     4        SUB                                              ~6      !0, !1
          5        ASSIGN                                                   !1, ~6
    8     6        SUB                                              ~8      !0, !1
          7        ASSIGN                                                   !0, ~8
   10     8        ROPE_INIT                                     4  ~11     'a+%3D+'
          9        ROPE_ADD                                      1  ~11     ~11, !0
         10        ROPE_ADD                                      2  ~11     ~11, '%3B+b+%3D+'
         11        ROPE_END                                      3  ~10     ~11, !1
         12        ECHO                                                     ~10
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.81 ms | 1393 KiB | 13 Q