3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var[] = 'I work'; $a[] = 'Me too'; var_dump($a); $b = 'Foo'; $b = array(); $b[] = 'So do I'; $b = 'Bar'; $b[] = 'I don\'t :\\';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t762M
function name:  (null)
number of ops:  15
compiled vars:  !0 = $var, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  'I+work'
    5     2        ASSIGN_DIM                                               !1
          3        OP_DATA                                                  'Me+too'
    6     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
    8     7        ASSIGN                                                   !2, 'Foo'
    9     8        ASSIGN                                                   !2, <array>
   10     9        ASSIGN_DIM                                               !2
         10        OP_DATA                                                  'So+do+I'
   12    11        ASSIGN                                                   !2, 'Bar'
   13    12        ASSIGN_DIM                                               !2
         13        OP_DATA                                                  'I+don%27t+%3A%5C'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.86 ms | 1394 KiB | 15 Q