3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ceu = array( "Italy"=>"Rome", "Luxembourg"=>"Luxembourg", "Belgium"=> "Brussels", "Denmark"=>"Copenhagen", "Finland"=>"Helsinki", "France" => "Paris", "Slovakia"=>"Bratislava", "Slovenia"=>"Ljubljana", "Germany" => "Berlin", "Greece" => "Athens", "Ireland"=>"Dublin", "Netherlands"=>"Amsterdam", "Portugal"=>"Lisbon", "Spain"=>"Madrid", "Sweden"=>"Stockholm", "United Kingdom"=>"London", "Cyprus"=>"Nicosia", "Lithuania"=>"Vilnius", "Czech Republic"=>"Prague", "Estonia"=>"Tallin", "Hungary"=>"Budapest", "Latvia"=>"Riga", "Malta"=>"Valetta", "Austria" => "Vienna", "Poland"=>"Warsaw") ; foreach ($ceu as $x => $x_value){ echo "The capital of " . "$ceu[$x]" . " is " .$ceu[$x_value]. "."; echo "<br/>"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 14
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/Y8fJs
function name:  (null)
number of ops:  16
compiled vars:  !0 = $ceu, !1 = $x_value, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1      > FE_RESET_R                                       $4      !0, ->14
          2    > > FE_FETCH_R                                       ~5      $4, !1, ->14
          3    >   ASSIGN                                                   !2, ~5
    5     4        FETCH_DIM_R                                      ~7      !0, !2
          5        CAST                                          6  ~8      ~7
          6        CONCAT                                           ~9      'The+capital+of+', ~8
          7        CONCAT                                           ~10     ~9, '+is+'
          8        FETCH_DIM_R                                      ~11     !0, !1
          9        CONCAT                                           ~12     ~10, ~11
         10        CONCAT                                           ~13     ~12, '.'
         11        ECHO                                                     ~13
    6    12        ECHO                                                     '%3Cbr%2F%3E'
    4    13      > JMP                                                      ->2
         14    >   FE_FREE                                                  $4
    8    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.34 ms | 1385 KiB | 13 Q