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") ; asort($ceu) ; foreach($ceu as $country => $capital) { echo "The capital of $country is $capital \n" ; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/3nSfi
function name:  (null)
number of ops:  16
compiled vars:  !0 = $ceu, !1 = $capital, !2 = $country
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   14     1        INIT_FCALL                                               'asort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   15     4      > FE_RESET_R                                       $5      !0, ->14
          5    > > FE_FETCH_R                                       ~6      $5, !1, ->14
          6    >   ASSIGN                                                   !2, ~6
   17     7        ROPE_INIT                                     5  ~9      'The+capital+of+'
          8        ROPE_ADD                                      1  ~9      ~9, !2
          9        ROPE_ADD                                      2  ~9      ~9, '+is+'
         10        ROPE_ADD                                      3  ~9      ~9, !1
         11        ROPE_END                                      4  ~8      ~9, '+%0A'
         12        ECHO                                                     ~8
   15    13      > JMP                                                      ->5
         14    >   FE_FREE                                                  $5
   19    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.94 ms | 1395 KiB | 15 Q