3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace WebSharks\Challenge; $a = ['patdumona', 'kristinedp', 'raamdes', 'renzmp', 'reedysete']; echo implode(substr_replace($a,$r +=4 ,-1))."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KUBdN
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Cimplode'
          2        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Csubstr_replace'
          3        SEND_VAR_EX                                              !0
          4        ASSIGN_OP                                     1  ~3      !1, 4
          5        SEND_VAL_EX                                              ~3
          6        SEND_VAL_EX                                              -1
          7        DO_FCALL                                      0  $4      
          8        SEND_VAR_NO_REF_EX                                       $4
          9        DO_FCALL                                      0  $5      
         10        CONCAT                                           ~6      $5, '%0A'
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.6 ms | 1394 KiB | 17 Q