3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "16 18 9 22 1 3 25 12 19 20"; $chr = explode(" ", $str); $out = ""; foreach($chr as $c) { $out.= chr(65 + (int) $c); } print strtolower($out);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/QvBDf
function name:  (null)
number of ops:  22
compiled vars:  !0 = $str, !1 = $chr, !2 = $out, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '16+18+9+22+1+3+25+12+19+20'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    5     6        ASSIGN                                                   !2, ''
    7     7      > FE_RESET_R                                       $8      !1, ->16
          8    > > FE_FETCH_R                                               $8, !3, ->16
    8     9    >   INIT_FCALL                                               'chr'
         10        CAST                                          4  ~9      !3
         11        ADD                                              ~10     65, ~9
         12        SEND_VAL                                                 ~10
         13        DO_ICALL                                         $11     
         14        ASSIGN_OP                                     8          !2, $11
    7    15      > JMP                                                      ->8
         16    >   FE_FREE                                                  $8
   11    17        INIT_FCALL                                               'strtolower'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                         $13     
         20        ECHO                                                     $13
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.4 ms | 1387 KiB | 19 Q