3v4l.org

run code in 300+ PHP versions simultaneously
<?php $column5 = array( 'london-airport', 'newyork-airport', 'paris-airport', 'barcelona-international-airport' ); foreach ($column5 as $airport) { $btitle = str_replace("-", " ", $airport); $title = ucwords($btitle); echo '<h3>'.$title.'</h3>', PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 18
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 18
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/HjRW5
function name:  (null)
number of ops:  20
compiled vars:  !0 = $column5, !1 = $airport, !2 = $btitle, !3 = $title
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1      > FE_RESET_R                                       $5      !0, ->18
          2    > > FE_FETCH_R                                               $5, !1, ->18
   11     3    >   INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 '-'
          5        SEND_VAL                                                 '+'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
   12     9        INIT_FCALL                                               'ucwords'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !3, $8
   13    13        CONCAT                                           ~10     '%3Ch3%3E', !3
         14        CONCAT                                           ~11     ~10, '%3C%2Fh3%3E'
         15        ECHO                                                     ~11
         16        ECHO                                                     '%0A'
   10    17      > JMP                                                      ->2
         18    >   FE_FREE                                                  $5
   14    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.43 ms | 1395 KiB | 17 Q