3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.87 ms | 1398 KiB | 15 Q