3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array_map('intval', str_split($number)); foreach ($array as $value) { $value = chr(96 + $value); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/ZaLn2
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array, !1 = $number, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'array_map'
          1        SEND_VAL                                                 'intval'
          2        INIT_FCALL                                               'str_split'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    3     8      > FE_RESET_R                                       $6      !0, ->16
          9    > > FE_FETCH_R                                               $6, !2, ->16
    5    10    >   INIT_FCALL                                               'chr'
         11        ADD                                              ~7      96, !2
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !2, $8
    3    15      > JMP                                                      ->9
         16    >   FE_FREE                                                  $6
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.26 ms | 1386 KiB | 19 Q