3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tzIdentifiers = DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC); foreach ($tzIdentifiers as $tzid) { try { $tz = new DateTimeZone($tzid); } catch(Exception $e) { echo $tzid . "\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
Found catch point at position: 11
Branch analysis from position: 11
2 jumps found. (Code = 107) Position 1 = 12, Position 2 = -2
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
filename:       /in/bemLH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $tzIdentifiers, !1 = $tzid, !2 = $tz, !3 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTimeZone', 'listIdentifiers'
          1        SEND_VAL                                                 4095
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !0, $4
    5     4      > FE_RESET_R                                       $6      !0, ->15
          5    > > FE_FETCH_R                                               $6, !1, ->15
    8     6    >   NEW                                              $7      'DateTimeZone'
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !2, $7
         10      > JMP                                                      ->14
    9    11  E > > CATCH                                       last         'Exception'
   10    12    >   CONCAT                                           ~10     !1, '%0A'
         13        ECHO                                                     ~10
    5    14    > > JMP                                                      ->5
         15    >   FE_FREE                                                  $6
   12    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.31 ms | 1393 KiB | 13 Q