3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.26 ms | 1392 KiB | 13 Q