3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 2; $b= 3; $c = 56; $v = array($a, $b,$c); print_r($v);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Hj07D
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $v
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 2
   3     1        ASSIGN                                                   !1, 3
   4     2        ASSIGN                                                   !2, 56
   5     3        INIT_ARRAY                                       ~7      !0
         4        ADD_ARRAY_ELEMENT                                ~7      !1
         5        ADD_ARRAY_ELEMENT                                ~7      !2
         6        ASSIGN                                                   !3, ~7
   6     7        INIT_FCALL                                               'print_r'
         8        SEND_VAR                                                 !3
         9        DO_ICALL                                                 
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0