3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace WebSharks\Challenge; $a = ['patdumona', 'kristinedp', 'raamdes', 'renzmp', 'reedysete']; print_r(str_replace(strlen($a),strlen($a-4),$a,$i)); echo implode(substr_replace($a,range("a","z",3),-1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Phagp
function name:  (null)
number of ops:  32
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Cprint_r'
          2        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Cstr_replace'
          3        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Cstrlen'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $3      
          6        SEND_VAR_NO_REF_EX                                       $3
          7        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Cstrlen'
          8        SUB                                              ~4      !0, 4
          9        SEND_VAL_EX                                              ~4
         10        DO_FCALL                                      0  $5      
         11        SEND_VAR_NO_REF_EX                                       $5
         12        SEND_VAR_EX                                              !0
         13        SEND_VAR_EX                                              !1
         14        DO_FCALL                                      0  $6      
         15        SEND_VAR_NO_REF_EX                                       $6
         16        DO_FCALL                                      0          
    6    17        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Cimplode'
         18        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Csubstr_replace'
         19        SEND_VAR_EX                                              !0
         20        INIT_NS_FCALL_BY_NAME                                    'WebSharks%5CChallenge%5Crange'
         21        SEND_VAL_EX                                              'a'
         22        SEND_VAL_EX                                              'z'
         23        SEND_VAL_EX                                              3
         24        DO_FCALL                                      0  $8      
         25        SEND_VAR_NO_REF_EX                                       $8
         26        SEND_VAL_EX                                              -1
         27        DO_FCALL                                      0  $9      
         28        SEND_VAR_NO_REF_EX                                       $9
         29        DO_FCALL                                      0  $10     
         30        ECHO                                                     $10
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.28 ms | 1400 KiB | 25 Q