3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "new string"; $c = $b = $a; xdebug_debug_zval( 'a' ); unset( $b, $c ); xdebug_debug_zval( 'a' ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N9FmD
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $c, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'new+string'
    3     1        ASSIGN                                           ~4      !2, !0
          2        ASSIGN                                                   !1, ~4
    4     3        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
          4        SEND_VAL_EX                                              'a'
          5        DO_FCALL                                      0          
    5     6        UNSET_CV                                                 !2
          7        UNSET_CV                                                 !1
    6     8        INIT_FCALL_BY_NAME                                       'xdebug_debug_zval'
          9        SEND_VAL_EX                                              'a'
         10        DO_FCALL                                      0          
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.29 ms | 1392 KiB | 13 Q