3v4l.org

run code in 300+ PHP versions simultaneously
<?php function inverse() { throw new Exception('Division par zéro.'); } echo 'test'; inverse(); // On continue l'exécution echo "Bonjour le monde !\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NhCie
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'test'
    9     1        INIT_FCALL                                               'inverse'
          2        DO_FCALL                                      0          
   12     3        ECHO                                                     'Bonjour+le+monde+%21%0A'
          4      > RETURN                                                   1

Function inverse:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/NhCie
function name:  inverse
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $0      'Exception'
          1        SEND_VAL_EX                                              'Division+par+z%C3%A9ro.'
          2        DO_FCALL                                      0          
          3      > THROW                                         0          $0
    5     4*     > RETURN                                                   null

End of function inverse

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.14 ms | 1396 KiB | 14 Q