3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array("here","we","go"); $array1[2] = 'go'; $array1[1] = 'we'; $array1[0] = 'here'; $array2 = array('here'); $array2[2] = 'go'; $array2[1] = 'we'; $array2[0] = 'here'; $str1 = implode(',',$array1); $str2 = implode(',',$array2); echo $str1; echo "<br/>"; echo $str2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L6Qb0
function name:  (null)
number of ops:  28
compiled vars:  !0 = $array1, !1 = $array2, !2 = $str1, !3 = $str2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 2
          2        OP_DATA                                                  'go'
    4     3        ASSIGN_DIM                                               !0, 1
          4        OP_DATA                                                  'we'
    5     5        ASSIGN_DIM                                               !0, 0
          6        OP_DATA                                                  'here'
    7     7        ASSIGN                                                   !1, <array>
    8     8        ASSIGN_DIM                                               !1, 2
          9        OP_DATA                                                  'go'
    9    10        ASSIGN_DIM                                               !1, 1
         11        OP_DATA                                                  'we'
   10    12        ASSIGN_DIM                                               !1, 0
         13        OP_DATA                                                  'here'
   12    14        INIT_FCALL                                               'implode'
         15        SEND_VAL                                                 '%2C'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $12     
         18        ASSIGN                                                   !2, $12
   13    19        INIT_FCALL                                               'implode'
         20        SEND_VAL                                                 '%2C'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $14     
         23        ASSIGN                                                   !3, $14
   14    24        ECHO                                                     !2
   15    25        ECHO                                                     '%3Cbr%2F%3E'
   16    26        ECHO                                                     !3
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.89 ms | 1399 KiB | 16 Q