3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('hello', 'NO'); var_dump('Start A', $a); $b = $a; var_dump('Start B', $b); $b[] = ':O'; var_dump('End B', $b); var_dump('End A', $a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UaoEH
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAL                                                 'Start+A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    5     5        ASSIGN                                                   !1, !0
    6     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 'Start+B'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10        ASSIGN_DIM                                               !1
         11        OP_DATA                                                  '%3AO'
    8    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 'End+B'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
    9    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAL                                                 'End+A'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.14 ms | 1395 KiB | 15 Q