3v4l.org

run code in 300+ PHP versions simultaneously
<?php $toto = '1'; try { if(isset($toto1) === false) { throw new Exception('n\'existe pas !'); } echo $toto1; } catch(Exception $e) { echo 'Ooops'; echo $e; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 10
Branch analysis from position: 10
2 jumps found. (Code = 107) Position 1 = 11, Position 2 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DT6qr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $toto, !1 = $toto1, !2 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1'
    4     1        ISSET_ISEMPTY_CV                                 ~4      !1
          2        TYPE_CHECK                                    4          ~4
          3      > JMPZ                                                     ~5, ->8
    5     4    >   NEW                                              $6      'Exception'
          5        SEND_VAL_EX                                              'n%27existe+pas+%21'
          6        DO_FCALL                                      0          
          7      > THROW                                         0          $6
    7     8    >   ECHO                                                     !1
          9      > JMP                                                      ->13
    9    10  E > > CATCH                                       last         'Exception'
   10    11    >   ECHO                                                     'Ooops'
   11    12        ECHO                                                     !2
   13    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.01 ms | 1393 KiB | 13 Q