3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = range(0,10); $arr2 = array('key1'=>'value1','key2'=>'value2','key3'=>'value3'); echo implode('',$arr)."\t"; echo implode('',$arr2)."\t";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DkpTS
function name:  (null)
number of ops:  19
compiled vars:  !0 = $arr, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 10
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        ASSIGN                                                   !1, <array>
    6     6        INIT_FCALL                                               'implode'
          7        SEND_VAL                                                 ''
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        CONCAT                                           ~6      $5, '%09'
         11        ECHO                                                     ~6
    7    12        INIT_FCALL                                               'implode'
         13        SEND_VAL                                                 ''
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $7      
         16        CONCAT                                           ~8      $7, '%09'
         17        ECHO                                                     ~8
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.72 ms | 1394 KiB | 17 Q