3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="https://raw.githubusercontent.com/dmfilipenko/timezones.json/master/timezones.json"; foreach(json_decode(file_get_contents($url), true) as $tz){ if($tzs[$tz['abbr']]) print_r($tz); $tzs[$tz['abbr']]=true; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 20
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 20
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/0pLpV
function name:  (null)
number of ops:  22
compiled vars:  !0 = $url, !1 = $tz, !2 = $tzs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fraw.githubusercontent.com%2Fdmfilipenko%2Ftimezones.json%2Fmaster%2Ftimezones.json'
    5     1        INIT_FCALL                                               'json_decode'
          2        INIT_FCALL                                               'file_get_contents'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        SEND_VAR                                                 $4
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $5      
          8      > FE_RESET_R                                       $6      $5, ->20
          9    > > FE_FETCH_R                                               $6, !1, ->20
    6    10    >   FETCH_DIM_R                                      ~7      !1, 'abbr'
         11        FETCH_DIM_R                                      ~8      !2, ~7
         12      > JMPZ                                                     ~8, ->16
         13    >   INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
    7    16    >   FETCH_DIM_R                                      ~10     !1, 'abbr'
         17        ASSIGN_DIM                                               !2, ~10
         18        OP_DATA                                                  <true>
    5    19      > JMP                                                      ->9
         20    >   FE_FREE                                                  $6
    9    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.26 ms | 1395 KiB | 19 Q