3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { assert(PHP_MAJOR_VERSION >= 7, new AssertionError('PHP 7 is requiered!')); } catch (Exception $e) { } echo 'Hi!';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
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
filename:       /in/f9PtQ
function name:  (null)
number of ops:  12
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      'AssertionError'
          4        SEND_VAL_EX                                              'PHP+7+is+requiered%21'
          5        DO_FCALL                                      0          
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
          8      > JMP                                                      ->10
    3     9  E > > CATCH                                       last         'Exception'
    4    10    >   ECHO                                                     'Hi%21'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.03 ms | 1394 KiB | 15 Q