3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $oTimezone = new DateTimeZone('hello'); } catch (Exception $oEx) { trigger_error('Unknown timezone. <![CDATA[ ' . var_export($sTimezone, true) . ' ]]>', E_USER_WARNING); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/16L7G
function name:  (null)
number of ops:  17
compiled vars:  !0 = $oTimezone, !1 = $oEx, !2 = $sTimezone
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $3      'DateTimeZone'
          1        SEND_VAL_EX                                              'hello'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
          4      > JMP                                                      ->16
    5     5  E > > CATCH                                       last         'Exception'
    6     6    >   INIT_FCALL                                               'trigger_error'
          7        INIT_FCALL                                               'var_export'
          8        SEND_VAR                                                 !2
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $6      
         11        CONCAT                                           ~7      'Unknown+timezone.+%3C%21%5BCDATA%5B+', $6
         12        CONCAT                                           ~8      ~7, '+%5D%5D%3E'
         13        SEND_VAL                                                 ~8
         14        SEND_VAL                                                 512
         15        DO_ICALL                                                 
    7    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.43 ms | 1386 KiB | 17 Q