3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = strpos('PHP 5.6.10', phpversion()); $pos_old = strpos('5.5.9', phpversion()); $arr_new = array(); $arr_old = array(); if($pos !== false){ $arr = timezone_abbreviations_list(); $i=1; foreach($arr as $key => $a){ foreach($a as $index => $value){ echo $i.'. Abbrevation : '.$key.', offset : '.$value['offset'].', timezone : '.$value['timezone_id']; echo "<br/>"; $i++; } } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 43
Branch analysis from position: 18
2 jumps found. (Code = 77) Position 1 = 23, Position 2 = 42
Branch analysis from position: 23
2 jumps found. (Code = 78) Position 1 = 24, Position 2 = 42
Branch analysis from position: 24
2 jumps found. (Code = 77) Position 1 = 26, Position 2 = 40
Branch analysis from position: 26
2 jumps found. (Code = 78) Position 1 = 27, Position 2 = 40
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 40
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
Branch analysis from position: 43
filename:       /in/vihUp
function name:  (null)
number of ops:  44
compiled vars:  !0 = $pos, !1 = $pos_old, !2 = $arr_new, !3 = $arr_old, !4 = $arr, !5 = $i, !6 = $a, !7 = $key, !8 = $value, !9 = $index
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAL                                                 'PHP+5.6.10'
          2        INIT_FCALL                                               'phpversion'
          3        DO_ICALL                                         $10     
          4        SEND_VAR                                                 $10
          5        DO_ICALL                                         $11     
          6        ASSIGN                                                   !0, $11
    4     7        INIT_FCALL                                               'strpos'
          8        SEND_VAL                                                 '5.5.9'
          9        INIT_FCALL                                               'phpversion'
         10        DO_ICALL                                         $13     
         11        SEND_VAR                                                 $13
         12        DO_ICALL                                         $14     
         13        ASSIGN                                                   !1, $14
    5    14        ASSIGN                                                   !2, <array>
    6    15        ASSIGN                                                   !3, <array>
    8    16        TYPE_CHECK                                  1018          !0
         17      > JMPZ                                                     ~18, ->43
    9    18    >   INIT_FCALL                                               'timezone_abbreviations_list'
         19        DO_ICALL                                         $19     
         20        ASSIGN                                                   !4, $19
   10    21        ASSIGN                                                   !5, 1
   11    22      > FE_RESET_R                                       $22     !4, ->42
         23    > > FE_FETCH_R                                       ~23     $22, !6, ->42
         24    >   ASSIGN                                                   !7, ~23
   12    25      > FE_RESET_R                                       $25     !6, ->40
         26    > > FE_FETCH_R                                       ~26     $25, !8, ->40
         27    >   ASSIGN                                                   !9, ~26
   13    28        CONCAT                                           ~28     !5, '.+Abbrevation+%3A+'
         29        CONCAT                                           ~29     ~28, !7
         30        CONCAT                                           ~30     ~29, '%2C+offset+%3A+'
         31        FETCH_DIM_R                                      ~31     !8, 'offset'
         32        CONCAT                                           ~32     ~30, ~31
         33        CONCAT                                           ~33     ~32, '%2C+timezone+%3A+'
         34        FETCH_DIM_R                                      ~34     !8, 'timezone_id'
         35        CONCAT                                           ~35     ~33, ~34
         36        ECHO                                                     ~35
   14    37        ECHO                                                     '%3Cbr%2F%3E'
   15    38        PRE_INC                                                  !5
   12    39      > JMP                                                      ->26
         40    >   FE_FREE                                                  $25
   11    41      > JMP                                                      ->23
         42    >   FE_FREE                                                  $22
   21    43    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.23 ms | 1400 KiB | 19 Q