3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.7 ms | 1394 KiB | 15 Q