3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['nl', 'net', 'com', 'co']; $q = 'example'; echo "$q." . implode(",$q.", $a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2cdEk
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'example'
    6     2        NOP                                                      
          3        FAST_CONCAT                                      ~4      !1, '.'
          4        INIT_FCALL                                               'implode'
          5        ROPE_INIT                                     3  ~6      '%2C'
          6        ROPE_ADD                                      1  ~6      ~6, !1
          7        ROPE_END                                      2  ~5      ~6, '.'
          8        SEND_VAL                                                 ~5
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $8      
         11        CONCAT                                           ~9      ~4, $8
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.24 ms | 1004 KiB | 14 Q