3v4l.org

run code in 300+ PHP versions simultaneously
<?php class IbmApiExceptionDB extends Exception { public function setMessage($messageLabel = '', $msgArgs = null, $moduleName = null) { $this->message = null; } } try { $exception = new IbmApiExceptionDB(); $exception->setMessage(array(1,2,3)); throw $exception; } catch (Exception $e) { echo 111; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
Found catch point at position: 8
Branch analysis from position: 8
2 jumps found. (Code = 107) Position 1 = 9, Position 2 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t0lqg
function name:  (null)
number of ops:  11
compiled vars:  !0 = $exception, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   NEW                                              $2      'IbmApiExceptionDB'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   15     3        INIT_METHOD_CALL                                         !0, 'setMessage'
          4        SEND_VAL_EX                                              <array>
          5        DO_FCALL                                      0          
   16     6      > THROW                                         0          !0
          7*       JMP                                                      ->10
   17     8  E > > CATCH                                       last         'Exception'
   18     9    >   ECHO                                                     111
   19    10      > RETURN                                                   1

Class IbmApiExceptionDB:
Function setmessage:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t0lqg
function name:  setMessage
number of ops:  6
compiled vars:  !0 = $messageLabel, !1 = $msgArgs, !2 = $moduleName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV_INIT                                        !0      ''
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
    7     3        ASSIGN_OBJ                                               'message'
          4        OP_DATA                                                  null
    8     5      > RETURN                                                   null

End of function setmessage

End of class IbmApiExceptionDB.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.95 ms | 1394 KiB | 13 Q