3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.65 ms | 1392 KiB | 13 Q