3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var1 = 'Hello World'; $var2 = ''; $var2 =& $var1; debug_zval_dump($var1);
based on e31sB
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/ntX3A
function name:  (null)
number of ops:  7
compiled vars:  !0 = $var1, !1 = $var2
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 'Hello+World'
   3     1        ASSIGN                                                   !1, ''
   5     2        ASSIGN_REF                                               !1, !0
   7     3        INIT_FCALL                                               'debug_zval_dump'
         4        SEND_VAR                                                 !0
         5        DO_ICALL                                                 
         6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0