3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[uno] = 1; $a[dos] = 2; $a[dos] = 3; $a = split('1;2;3;4',';'); print_r($a); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2mCr8
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, <array>
   10     1        FETCH_CONSTANT                                   ~2      'uno'
          2        ASSIGN_DIM                                               !0, ~2
          3        OP_DATA                                                  1
   11     4        FETCH_CONSTANT                                   ~4      'dos'
          5        ASSIGN_DIM                                               !0, ~4
          6        OP_DATA                                                  2
   12     7        FETCH_CONSTANT                                   ~6      'dos'
          8        ASSIGN_DIM                                               !0, ~6
          9        OP_DATA                                                  3
   16    10        INIT_FCALL_BY_NAME                                       'split'
         11        SEND_VAL_EX                                              '1%3B2%3B3%3B4'
         12        SEND_VAL_EX                                              '%3B'
         13        DO_FCALL                                      0  $8      
         14        ASSIGN                                                   !0, $8
   18    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
   19    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.74 ms | 1394 KiB | 15 Q