3v4l.org

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

Function %00%7Bclosure%7D%2Fin%2FkUFY5%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kUFY5
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $r, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     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        ECHO                                                     $3
          7      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FkUFY5%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.16 ms | 1395 KiB | 21 Q