3v4l.org

run code in 300+ PHP versions simultaneously
<?php $imlist = array(); $imlist[] = ''; $imlist[] = 'something'; $image_list = implode(',',$imlist); echo $image_list;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H3DYE
function name:  (null)
number of ops:  12
compiled vars:  !0 = $imlist, !1 = $image_list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  ''
    5     3        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  'something'
    7     5        INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '%2C'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    9    10        ECHO                                                     !1
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.1 ms | 1394 KiB | 15 Q