3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.6 ms | 1394 KiB | 15 Q