3v4l.org

run code in 300+ PHP versions simultaneously
<?php $period['duration'] = "35"; $period['timeunit'] = "Years"; $period['duration'] .= ' ' . array_pop($period); var_export($period);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5TPm8
function name:  (null)
number of ops:  14
compiled vars:  !0 = $period
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'duration'
          1        OP_DATA                                                  '35'
    4     2        ASSIGN_DIM                                               !0, 'timeunit'
          3        OP_DATA                                                  'Years'
    6     4        INIT_FCALL                                               'array_pop'
          5        SEND_REF                                                 !0
          6        DO_ICALL                                         $4      
          7        CONCAT                                           ~5      '+', $4
          8        ASSIGN_DIM_OP                .=               8          !0, 'duration'
          9        OP_DATA                                                  ~5
    8    10        INIT_FCALL                                               'var_export'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.26 ms | 1010 KiB | 15 Q