3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyException extends Exception { // parent: __construct($message = null, $code = -1, $previous = null) public function __construct($message, $code = -1, $previous = null) { parent::__construct($message, $code, $previous); } } $e = new MyException('It dun gon rong');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BaCO3
function name:  (null)
number of ops:  5
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $1      'MyException'
          1        SEND_VAL_EX                                              'It+dun+gon+rong'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
          4      > RETURN                                                   1

Class MyException:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BaCO3
function name:  __construct
number of ops:  9
compiled vars:  !0 = $message, !1 = $code, !2 = $previous
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      -1
          2        RECV_INIT                                        !2      null
    8     3        INIT_STATIC_METHOD_CALL                                  
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        SEND_VAR_EX                                              !2
          7        DO_FCALL                                      0          
    9     8      > RETURN                                                   null

End of function __construct

End of class MyException.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.95 ms | 1393 KiB | 13 Q