3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { assert(PHP_MAJOR_VERSION >= 7, new Exception('PHP 7 is requiered!')); } catch (Exception $e) { quit; } echo 'Hi!';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8SFcT
function name:  (null)
number of ops:  14
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSERT_CHECK                                             
          1        INIT_FCALL                                               'assert'
          2        SEND_VAL                                                 <true>
          3        NEW                                              $1      'Exception'
          4        SEND_VAL_EX                                              'PHP+7+is+requiered%21'
          5        DO_FCALL                                      0          
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
          8      > JMP                                                      ->12
    3     9  E > > CATCH                                       last         'Exception'
         10    >   FETCH_CONSTANT                                   ~4      'quit'
         11        FREE                                                     ~4
    4    12    >   ECHO                                                     'Hi%21'
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160 ms | 1394 KiB | 15 Q