3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"; $s = explode("\t", $s); foreach($s as $o => $x) $s[$o] = trim($x); $s = array_reverse($s); foreach($s as $l) echo $l . "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
2 jumps found. (Code = 77) Position 1 = 21, Position 2 = 25
Branch analysis from position: 21
2 jumps found. (Code = 78) Position 1 = 22, Position 2 = 25
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 15
filename:       /in/1QQa7
function name:  (null)
number of ops:  27
compiled vars:  !0 = $s, !1 = $x, !2 = $o, !3 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'A%09B%09C%09D%09E%09F%09G%09H%09I%09J%09K%09L%09M%09N%09O%09P%09Q%09R%09S%09T%09U%09V%09W%09X%09Y%09Z'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%09'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !0, $5
    6     6      > FE_RESET_R                                       $7      !0, ->15
          7    > > FE_FETCH_R                                       ~8      $7, !1, ->15
          8    >   ASSIGN                                                   !2, ~8
    7     9        INIT_FCALL                                               'trim'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $11     
         12        ASSIGN_DIM                                               !0, !2
         13        OP_DATA                                                  $11
    6    14      > JMP                                                      ->7
         15    >   FE_FREE                                                  $7
    8    16        INIT_FCALL                                               'array_reverse'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $12     
         19        ASSIGN                                                   !0, $12
   10    20      > FE_RESET_R                                       $14     !0, ->25
         21    > > FE_FETCH_R                                               $14, !3, ->25
   11    22    >   CONCAT                                           ~15     !3, '%0A'
         23        ECHO                                                     ~15
   10    24      > JMP                                                      ->21
         25    >   FE_FREE                                                  $14
   11    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.68 ms | 1396 KiB | 19 Q