3v4l.org

run code in 300+ PHP versions simultaneously
<?php $weather = array("晴れ", "晴れ時々雨", "雪のち雨"); $ary = array( "晴れ" => "sunny", "雨" => "rainy", "曇" => "cloudy", "雪" => "snowy", "のち" => "later", "時々" => "and" ); for ($i=0; $i < 3; $i++) { //$telop = $weather->forecasts[$i]->telop; $telop = $weather[$i]; foreach ($ary as $key => $value) { $aaa = "晴れれれれ"; //str_replace("晴れ", "arry", $aaa); echo $aaa; } echo $telop; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
Branch analysis from position: 4
Branch analysis from position: 12
filename:       /in/lfcVH
function name:  (null)
number of ops:  18
compiled vars:  !0 = $weather, !1 = $ary, !2 = $i, !3 = $telop, !4 = $value, !5 = $key, !6 = $aaa
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
   12     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->15
   15     4    >   FETCH_DIM_R                                      ~10     !0, !2
          5        ASSIGN                                                   !3, ~10
   16     6      > FE_RESET_R                                       $12     !1, ->12
          7    > > FE_FETCH_R                                       ~13     $12, !4, ->12
          8    >   ASSIGN                                                   !5, ~13
   17     9        ASSIGN                                                   !6, '%E6%99%B4%E3%82%8C%E3%82%8C%E3%82%8C%E3%82%8C'
   19    10        ECHO                                                     !6
   16    11      > JMP                                                      ->7
         12    >   FE_FREE                                                  $12
   21    13        ECHO                                                     !3
   12    14        PRE_INC                                                  !2
         15    >   IS_SMALLER                                               !2, 3
         16      > JMPNZ                                                    ~17, ->4
   22    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.53 ms | 1394 KiB | 13 Q