3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo array_reduce( str_split('0811142104191402140304',2), function ($r, $i) { return $r.chr($i+97); }, '' ); // http://3v4l.org/Ks2lj
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NcMK6
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'array_reduce'
    3     1        INIT_FCALL                                               'str_split'
          2        SEND_VAL                                                 '0811142104191402140304'
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
    4     6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FNcMK6%3A4%240'
          7        SEND_VAL                                                 ~1
    5     8        SEND_VAL                                                 ''
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    6    11      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FNcMK6%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NcMK6
function name:  {closure}
number of ops:  9
compiled vars:  !0 = $r, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        INIT_FCALL                                               'chr'
          3        ADD                                              ~2      !1, 97
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        CONCAT                                           ~4      !0, $3
          7      > RETURN                                                   ~4
          8*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FNcMK6%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.46 ms | 1387 KiB | 19 Q